Commit 6d2a6077 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

Still fiddling around with NaN in order to get windows build working again.


git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@122 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 0fc26b47
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include <limits>
#include <cmath> #include <cmath>
#include <CoMISo/Utils/StopWatch.hh> #include <CoMISo/Utils/StopWatch.hh>
...@@ -45,7 +46,7 @@ public: ...@@ -45,7 +46,7 @@ public:
struct Config struct Config
{ {
Config() : x_min(-1.0), x_max(1.0), n_iters(1), dx(1e-5), eps(1e-3), relativeEps(FP_NAN) Config() : x_min(-1.0), x_max(1.0), n_iters(1), dx(1e-5), eps(1e-3), relativeEps(std::numeric_limits<double>::quiet_NaN())
{} {}
double x_min; double x_min;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment