Commit f4b70987 authored by Andreas Lauser's avatar Andreas Lauser
Browse files

vtk multiwriter: make it compile again

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5021 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 73da3238
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
#include <iostream> #include <iostream>
#include <string> #include <string>
#include <limits>
namespace Dumux { namespace Dumux {
/*! /*!
* \brief Simplyfies writing multi-file VTK datasets. * \brief Simplyfies writing multi-file VTK datasets.
...@@ -128,7 +130,7 @@ public: ...@@ -128,7 +130,7 @@ public:
// set values which are too small to 0 to avoid problems // set values which are too small to 0 to avoid problems
// with paraview // with paraview
if (std::abs((*field)[i]) < FLT_MIN) if (std::abs((*field)[i]) < std::numeric_limits<float>::min())
(*field)[i] = 0.0; (*field)[i] = 0.0;
} }
......
Supports Markdown
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