File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,7 @@ context-aware single variable of the IR. Its fields are described as follows:
182
182
### Operations
183
183
184
184
Operations are the basic composition of variables and puts together the pieces
185
- with a function. The ` ~ ` function denotes equality
186
- between the arguments.
185
+ with a function. The ` ~ ` function denotes equality between the arguments.
187
186
188
187
### Differentials
189
188
Original file line number Diff line number Diff line change 1
- struct Differential
2
- x:: Union{Variable,Operation}
1
+ struct Differential <: Expression
2
+ x:: Expression
3
3
order:: Int
4
4
end
5
5
Differential (x) = Differential (x,1 )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ mutable struct Variable <: Expression
3
3
value
4
4
value_type:: DataType
5
5
subtype:: Symbol
6
- diff:: Union{Differential ,Nothing}
6
+ diff:: Union{Expression ,Nothing} # FIXME
7
7
dependents:: Vector{Variable}
8
8
description:: String
9
9
flow:: Bool
You can’t perform that action at this time.
0 commit comments