mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Thermal Fracture: Fix off-by-one in transmissibility calculation.
This commit is contained in:
@@ -72,7 +72,7 @@ size_t RigFractureCell::getJ() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RigFractureCell::hasNonZeroConductivity() const
|
||||
{
|
||||
return m_conductivityValue > 1e-7;
|
||||
return m_conductivityValue > 1e-7 && !std::isinf( m_conductivityValue );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user