Skip to content

Commit 272ea69

Browse files
committed
detach spline end-points
1 parent ff8ec68 commit 272ea69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stochman/discretized_manifold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def connecting_geodesic(self, p1, p2, curve=None):
285285
raise NameError('shape mismatch')
286286

287287
if curve is None:
288-
curve = CubicSpline(p1, p2)
288+
curve = CubicSpline(p1.detach(), p2.detach())
289289
else:
290290
curve.begin = p1
291291
curve.end = p2

0 commit comments

Comments
 (0)