ArityMismatch: Applying nonlinear operator to expression depending on form argument v_0
Issue #50
resolved
cell = tetrahedron
D = Domain(cell)
V = FiniteElement("P", D, 2)
u = Coefficient(V)
#Pi = exp(conditional(ge(u, 0.0), u, 0.0)) * dx
Pi = exp(max_value(u, 0.0)) * dx
L = derivative(Pi, u, TestFunction(V))
a = derivative(L, u, TrialFunction(V))
Commented version of Pi
works, and they clearly yield the same result. I suspect max_value
, which is probably based on max
and not conditional
, is not properly handled.
Comments (4)
-
-
martinal/fix-issue-50 in next.
-
- changed status to resolved
-
- removed milestone
Removing milestone: 1.5 (automated comment)
- Log in to comment