Skip to content

Commit 15d85fb

Browse files
authored
Update control.md (#360)
Corrected the parametric example since `scale` isn't exported any longer.
1 parent bd39925 commit 15d85fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ x = sin.(2π*t)
132132
y = cos.(2π*t)
133133
A = hcat(x,y)
134134

135-
itp = scale(interpolate(A, (BSpline(Cubic(Natural(OnGrid()))), NoInterp())), t, 1:2)
135+
itp = Interpolations.scale(interpolate(A, (BSpline(Cubic(Natural(OnGrid()))), NoInterp())), t, 1:2)
136136

137137
tfine = 0:.01:1
138138
xs, ys = [itp(t,1) for t in tfine], [itp(t,2) for t in tfine]

0 commit comments

Comments
 (0)