mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:40:06 +00:00 
			
		
		
		
	Use static cast when getting elevations to convert from double to float
This commit is contained in:
		
							parent
							
								
									0ac0e03ff8
								
							
						
					
					
						commit
						34eb3af698
					
				
					 2 changed files with 2 additions and 4 deletions
				
			
		|  | @ -221,8 +221,7 @@ uint16_t VolumeCoveragePatternData::number_of_base_tilts() const | |||
| double VolumeCoveragePatternData::elevation_angle(uint16_t e) const | ||||
| { | ||||
| 
 | ||||
|    float elevationAngleConverted = | ||||
|       // NOLINTNEXTLINE This conversion is accurate
 | ||||
|    double elevationAngleConverted = | ||||
|       p->elevationCuts_[e].elevationAngle_ * ANGLE_DATA_SCALE; | ||||
|    // Any elevation above 90 degrees should be interpreted as a
 | ||||
|    // negative angle
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak