mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Fix typo that broke min SAC calculation
Actually more of a cut'n'paste-o Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									ba6c570831
								
							
						
					
					
						commit
						b9179aabd5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -83,7 +83,7 @@ static void process_all_dives(struct dive *dive, struct dive **prev_dive) | |||
| 						dp->duration.seconds * dp->sac) / sac_time ; | ||||
| 			if (dp->sac > info_stat.max_sac.mliter) | ||||
| 				info_stat.max_sac.mliter = dp->sac; | ||||
| 			if (info_stat.min_sac.mliter == 0 || dp->sac < info_stat.max_sac.mliter) | ||||
| 			if (info_stat.min_sac.mliter == 0 || dp->sac < info_stat.min_sac.mliter) | ||||
| 				info_stat.min_sac.mliter = dp->sac; | ||||
| 		} | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue