diff options
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ static int get_local_sac(struct plot_data *entry1, struct plot_data *entry2, str return 0; a.mbar = GET_PRESSURE(entry1); b.mbar = GET_PRESSURE(entry2); - if (!a.mbar || !b.mbar) + if (!b.mbar || a.mbar <= b.mbar) return 0; /* Mean pressure in ATM */ |