Skip to content
Snippets Groups Projects
Commit 46507bf4 authored by Thomas Toulorge's avatar Thomas Toulorge
Browse files

Fixed compliance to C++98 standard in MeshOptCommon

parent 9f5aed3b
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
#include "MeshOptCommon.h" #include "MeshOptCommon.h"
const double MeshOptResults::BIGVAL = 1.e300;
MeshOptResults::MeshOptResults() : MeshOptResults::MeshOptResults() :
success(-1), CPU(0.), minNodeDisp(BIGVAL), maxNodeDisp(-BIGVAL), success(-1), CPU(0.), minNodeDisp(BIGVAL), maxNodeDisp(-BIGVAL),
minScaledJac(BIGVAL), maxScaledJac(-BIGVAL), minMetricMin(BIGVAL), minScaledJac(BIGVAL), maxScaledJac(-BIGVAL), minMetricMin(BIGVAL),
......
...@@ -45,7 +45,7 @@ struct MeshOptResults { // Output of mesh optimizati ...@@ -45,7 +45,7 @@ struct MeshOptResults { // Output of mesh optimizati
double minMetricMin, maxMetricMin; // Range of min. of metric double minMetricMin, maxMetricMin; // Range of min. of metric
MeshOptResults(); MeshOptResults();
private: private:
static const double BIGVAL = 1.e300; static const double BIGVAL;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment