Skip to content

Commit 4b9406d

Browse files
authored
Merge pull request #164 from SciML/baggepinnen-patch-1
Do not require positive gear ratio
2 parents 5b14862 + fd1d4b0 commit 4b9406d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Mechanical/Rotational/components.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ This element characterizes any type of gear box which is fixed in the ground and
181181
@component function IdealGear(; name, ratio, use_support = false)
182182
@named partial_element = PartialElementaryTwoFlangesAndSupport2(use_support = use_support)
183183
@unpack phi_support, flange_a, flange_b = partial_element
184-
@symcheck ratio > 0 || throw(ArgumentError("Expected `ratio` to be positive"))
185184
@parameters ratio=ratio [description = "Transmission ratio of $name"]
186185
sts = @variables phi_a(t)=0.0 [
187186
description = "Relative angle between shaft a and the support of $name",

0 commit comments

Comments
 (0)