Skip to content

Commit ce0aab0

Browse files
committed
fixup! Implement SplineStructure superclass of SplineObject
1 parent d7d2686 commit ce0aab0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

splipy/SplineObject.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def with_controlpoints(self, controlpoints, raw=False):
5858
:param bool raw: If True, skip any control point reordering.
5959
(For internal use.)
6060
"""
61+
controlpoints = controlpoints.reshape(self.shape + (-1,))
6162
constructors = [c for c in SplineObject.__subclasses__() if c._intended_pardim == len(self.bases)]
6263
if constructors:
6364
constructor = constructors[0]

0 commit comments

Comments
 (0)