Making a function space with non-matching cell type should raise an exception

Issue #94 resolved
Jan Blechta created an issue

Report from @pefarrell

from dolfin import *

mesh = UnitIntervalMesh(2)
ele = FiniteElement("CG", triangle, 1) # wrong, should be interval
V = FunctionSpace(mesh, ele) # should raise an exception, not segfault

Comments (1)

  1. Log in to comment