Skip to content

Commit 8979bd5

Browse files
committed
Added one more line
.. and a print statement
1 parent c3e890f commit 8979bd5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

python/simulators/PyBlackOilSimulator.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ py::array_t<double>
100100
PyBlackOilSimulator::
101101
getFluidStateVariable(const std::string &name) const
102102
{
103+
std::cout << "getFluidStateVariable: " << name << std::endl;
103104
auto vector = getFluidState().getFluidStateVariable(name);
104105
return py::array(vector.size(), vector.data());
105106
}

python/test/test_fluidstate_variables.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ def test_all(self):
2020
sim.step_init()
2121
sim.step()
2222
oil_pressure = sim.get_fluidstate_variable(name='po')
23+
assert True
2324
#self.assertAlmostEqual(oil_pressure[0], 41729978.837, places=2, msg='value of oil pressure')

0 commit comments

Comments
 (0)