mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
Correct computation of what AHI values are considered "close"
This commit is contained in:
parent
bd3c078dfb
commit
3c425d66e4
@ -216,7 +216,7 @@ QString Welcome::GenerateCPAPHTML()
|
||||
comp = under;
|
||||
} else if ((ahi > ahidays) && ((ahi - ahidays) >= 0.1)) {
|
||||
comp = over;
|
||||
} else if ((fabs(ahi > ahidays) >= 0.01) ) {
|
||||
} else if ((fabs(ahi - ahidays) >= 0.01) ) {
|
||||
comp = close;
|
||||
} else {
|
||||
comp = equal;
|
||||
|
Loading…
Reference in New Issue
Block a user