Skip to content

Commit fda4a4a

Browse files
committed
docs: float conversion in readme example
1 parent ea0076e commit fda4a4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ using DynamicExpressions
3030

3131
operators = OperatorEnum(; binary_operators=[+, -, *], unary_operators=[cos])
3232

33-
x1 = Node(; feature=1)
34-
x2 = Node(; feature=2)
33+
x1 = Node{Float64}(feature=1)
34+
x2 = Node{Float64}(feature=2)
3535

3636
expression = x1 * cos(x2 - 3.2)
3737

0 commit comments

Comments
 (0)