Fix compilation error on floating point constants
commitf8db87355bd48c2f206ce1f9b15c9a58897141a8
authorEdwin Brady <ecb10@st-andrews.ac.uk>
dateMon 18 Mar 2013, 23:43 (14 years ago)
parent17fb34a
rts/idris_stats.c+2−2
@@ -20,8 +20,8 @@ void print_stats(const Stats * stats) {
2020 alloc_rate = (int)((double)(stats->allocations) / mut_sec);
2121 }
2222
23− double gc_percent = 0.0d;
24− double productivity = 0.0d;
23+ double gc_percent = 0.0;
24+ double productivity = 0.0;
2525 if (total > 0) {
2626 gc_percent = 100 * (double)stats->gc_time / (double)total;
2727 productivity = 100 * ((double)mut / (double)total);