Skip to content

Commit b3b6101

Browse files
committed
Resolved all rebase issues
1 parent 44ab4ea commit b3b6101

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

splinepy/helpme/integrate.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,8 @@ def parametric_function(
215215
)
216216

217217
else:
218-
result = _np.einsum(
219-
"i...,i,i->...",
220-
function(positions),
221-
meas(spline, positions),
222-
weights,
218+
result = _np.sum(
219+
function(positions) * meas(spline, positions) * weights, axis=1
223220
)
224221
return result
225222

@@ -707,11 +704,7 @@ def __init__(self, geometry, solution_field=None, orders=None):
707704
)
708705
self._mapper = self._solution_field.mapper(reference=self._helpee)
709706

710-
self._trafo = Transformation(spline, orders)
711-
self.precompute_transformation()
712-
713-
self._rhs = None
714-
self._system_matrix = None
707+
self.reset(orders)
715708

716709
def reset(self, orders=None):
717710
""" """

0 commit comments

Comments
 (0)