Skip to content

Commit 05cdc9d

Browse files
committed
more parent scope
1 parent 4830367 commit 05cdc9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/examples/suspension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ The connection between the wheels and the ground form two kinematic loops togeth
298298
z0 = 0.0,
299299
der_angles = [0, 0, 0],
300300
iscut = true, # NOTE: Only used since while we have an "upright joint"
301-
surface = (x,z)->amplitude*(sin(2pi*ParentScope(ParentScope(freq))*t)), # Excitation from a time-varying surface profile
301+
surface = (x,z)->ParentScope(ParentScope(amplitude))*(sin(2pi*ParentScope(ParentScope(freq))*t)), # Excitation from a time-varying surface profile
302302
)
303303
304304
end

0 commit comments

Comments
 (0)