Skip to content

Commit

Permalink
fix return value as suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
coelner committed Dec 24, 2017
1 parent 75618c5 commit a371b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EnvironmentCalculations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ int EnvironmentCalculations::HeatIndex
}
// fallback if the parameter are not useful
else {
return -1;
return NAN;
}
}

Expand Down

0 comments on commit a371b33

Please sign in to comment.