diff --git a/meshmode/discretization/connection/__init__.py b/meshmode/discretization/connection/__init__.py index bdb0f5250256ad6e8a67a10d9b735c3ff085da4b..8e217d139d5d37c7b27c6f6eff6470d2767d0c15 100644 --- a/meshmode/discretization/connection/__init__.py +++ b/meshmode/discretization/connection/__init__.py @@ -214,7 +214,7 @@ class ChainedDiscretizationConnection(DiscretizationConnection): if not connections: raise ValueError("connections may not be empty") - super(DirectDiscretizationConnection, self).__init__( + super(ChainedDiscretizationConnection, self).__init__( connections[0].from_discr, connections[-1].to_discr, is_surjective=all(