mirror of
https://github.com/Z3Prover/z3
synced 2025-04-11 03:33:35 +00:00
Merge pull request #1430 from waywardmonkeys/double-promotion-fix
print_stat_f: Remove implicit conversion of float to double.
This commit is contained in:
commit
a302832917
|
@ -29,7 +29,7 @@ inline void print_stat(std::ostream& out, char const* msg, unsigned num) {
|
|||
}
|
||||
|
||||
inline void print_stat_f(std::ostream& out, char const* msg, float num) {
|
||||
if (num > 0.0) {
|
||||
if (num > 0.0f) {
|
||||
out << msg << num << "\n";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue