Skip to content

Commit 6f8679d

Browse files
committed
Do not explicitly set device in curve cosntructor as it follows from the other input arguments
1 parent a1b8af7 commit 6f8679d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stochman/manifold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def connecting_geodesic(self, p0, p1, init_curve: Optional[BasicCurve] = None) -
300300
of the chosen curve family is applied.
301301
"""
302302
if init_curve is None:
303-
curve = CubicSpline(p0, p1, device=p0.device)
303+
curve = CubicSpline(p0, p1)
304304
else:
305305
curve = init_curve
306306
curve.begin = p0

0 commit comments

Comments
 (0)