Commit 2e00ba31 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

minor fix in

parent a1c24285
Pipeline #4071 passed with stage
in 1 minute and 29 seconds
......@@ -72,7 +72,7 @@ class fluid_problem :
v[:] = self._b
bndcb = BNDCB(Bnd(callback_or_value).apply)
lib.fluid_problem_set_strong_boundary(self._fp, tag.encode(), field, row, bndcb)
lib.fluid_problem_set_strong_boundary(self._fp, tag.encode(), c_int(field), c_int(row), bndcb)
def adapt_mesh(self, lcmax, lcmin, n_el) :
lib.fluid_problem_adapt_mesh(self._fp, c_double(lcmax), c_double(lcmin), c_double(n_el))
Markdown is supported
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