More basic bugs with children and leaves

Bug #1152583 reported by Marie Rognes
6
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()

Johannes Ring (johannr)
Changed in dolfin:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.