Skip to content

Commit a0c7c8c

Browse files
authored
Merge pull request #387 from SciML/YingboMa-patch-1
Don't restrict the content of `Constant`
2 parents fb586ad + 2cba974 commit a0c7c8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/variables.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ $(TYPEDEF)
7878
An expression which wraps a constant numerical value.
7979
"""
8080
struct Constant <: Expression
81-
"""The constant's numerical value"""
82-
value::Number
81+
"""The constant value"""
82+
value
8383
end
8484

8585
"""

0 commit comments

Comments
 (0)