@@ -255,7 +255,7 @@ class LinearTriInterpolator(TriInterpolator):
255255
256256 """
257257 def __init__ (self , triangulation , z , trifinder = None ):
258- TriInterpolator .__init__ (self , triangulation , z , trifinder )
258+ super () .__init__ (triangulation , z , trifinder )
259259
260260 # Store plane coefficients for fast interpolation calculations.
261261 self ._plane_coefficients = \
@@ -379,7 +379,7 @@ class CubicTriInterpolator(TriInterpolator):
379379 """
380380 def __init__ (self , triangulation , z , kind = 'min_E' , trifinder = None ,
381381 dz = None ):
382- TriInterpolator .__init__ (self , triangulation , z , trifinder )
382+ super () .__init__ (triangulation , z , trifinder )
383383
384384 # Loads the underlying c++ _triangulation.
385385 # (During loading, reordering of triangulation._triangles may occur so
@@ -1178,15 +1178,15 @@ class _DOF_estimator_min_E(_DOF_estimator_geom):
11781178 """
11791179 def __init__ (self , Interpolator ):
11801180 self ._eccs = Interpolator ._eccs
1181- _DOF_estimator_geom .__init__ (self , Interpolator )
1181+ super () .__init__ (Interpolator )
11821182
11831183 def compute_dz (self ):
11841184 """
11851185 Elliptic solver for bending energy minimization.
11861186 Uses a dedicated 'toy' sparse Jacobi PCG solver.
11871187 """
11881188 # Initial guess for iterative PCG solver.
1189- dz_init = _DOF_estimator_geom .compute_dz (self )
1189+ dz_init = super () .compute_dz ()
11901190 Uf0 = np .ravel (dz_init )
11911191
11921192 reference_element = _ReducedHCT_Element ()
0 commit comments