More basic bugs with children and leaves
Bug #1152583 reported by
Marie Rognes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Child abuse is getting increasingly common in the Python layer. Here are some more basic examples that fail with trunk.
--
from dolfin import *
# Fail 1
mesh = UnitIntervalMesh(2)
V = FunctionSpace(mesh, "CG", 1)
print V.child()
# Fail 2
u0 = Function(V)
print u0.child()
# Non-fail!
print u0.leaf_node()
# Prints None (Weird, expecting <Mesh ... >)
print mesh.child()
Changed in dolfin: | |
status: | New → Confirmed |
To post a comment you must log in.