stats: use nan instead of no_value
authorNathan Binkert <nate@binkert.org>
Wed, 9 May 2012 18:51:42 +0000 (11:51 -0700)
committerNathan Binkert <nate@binkert.org>
Wed, 9 May 2012 18:51:42 +0000 (11:51 -0700)
src/base/stats/text.cc

index 28541ff597620e45c56b42eaf7761bcd91464eab..3d80e367cbd0a4e75c746ca4d10a1a3eb858fe5c 100644 (file)
@@ -176,7 +176,7 @@ ValueToString(Result value, int precision)
         val.setf(ios::fixed);
         val << value;
     } else {
-        val << "no_value";
+        val << "nan";
     }
 
     return val.str();