Commit af33d69e authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

fix python2

parent f885d6b8
Pipeline #4604 passed with stage
in 36 seconds
......@@ -147,7 +147,7 @@ class FluidProblem :
raise NameError("Pressure or Velocity (but not both) should be specified at open boundaries")
if velocity is not None :
n_value = self._dim+self._n_fluids-1 # u, v, w, a
cb_or_value = [*velocity,concentration] if self._n_fluids == 2 else velocity
cb_or_value = velocity+[concentration] if self._n_fluids == 2 else velocity
bnd_type = "velocity"
else :
n_value = self._n_fluids # p, a
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment