Skip to content

Commit 2cba974

Browse files
authored
Don't restrict the content of Constant
1 parent fb586ad commit 2cba974

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)