mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
boxmodels: make them compile with -pedantic
tested on GCC 4.3 and GCC 4.6. Due to an incompatibility between those two compilers (GCC 4.3 expects that there's no semicolon behind static_assert(), GCC 4.6 requires one), it only compiles on GCC 4.6.
This commit is contained in:
parent
01e2556916
commit
a47f8e2aec
@ -130,6 +130,7 @@ public:
|
|||||||
TutorialProblemCoupled(TimeManager &timeManager,
|
TutorialProblemCoupled(TimeManager &timeManager,
|
||||||
const GridView &gridView)
|
const GridView &gridView)
|
||||||
: ParentType(timeManager, gridView)
|
: ParentType(timeManager, gridView)
|
||||||
|
, eps_(3e-6)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -234,7 +235,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
// small epsilon value
|
// small epsilon value
|
||||||
static constexpr Scalar eps_ = 3e-6;
|
Scalar eps_;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user