Removed invalid_value as member variable

This commit is contained in:
Joakim Hove
2020-02-12 10:01:45 +01:00
parent cd990599b4
commit 963387da56
2 changed files with 7 additions and 1 deletions

View File

@@ -143,7 +143,6 @@ namespace Opm {
// of type of Valve
std::shared_ptr<Valve> m_valve;
static constexpr double invalid_value = -1.e100;
// We are not handling the length of segment projected onto the X-axis and Y-axis.
// They are not used in the simulations and we are not supporting the plotting.
// There are other three properties for segment related to thermal conduction,

View File

@@ -24,6 +24,13 @@
#include <cassert>
namespace Opm {
namespace {
static constexpr double invalid_value = -1.e100;
}
Segment::Segment()
: m_segment_number(-1),