mesh = UnitIntervalMesh(nx)
Define function spaces
V0 = FunctionSpace(mesh, "DG", 1)
W = MixedFunctionSpace([V0, V0])
...
c = Constant(1.0 / assemble(1.0 * dx(mesh)))
I obtain:
TypeError: unsupported operand type(s) for *: 'float' and 'Measure'
Thanks