File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 6
6
7
7
module MathOptSymbolicAD
8
8
9
- import Base. Meta: isexpr
10
- import MathOptInterface
9
+ import MathOptInterface as MOI
11
10
import SparseArrays
12
11
import Symbolics
13
12
14
- const MOI = MathOptInterface
15
-
16
13
abstract type AbstractSymbolicBackend < :
17
14
MOI. Nonlinear. AbstractAutomaticDifferentiation end
18
15
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ Parse `expr` into `f` and return a `_Node`.
173
173
This function gets called recursively.
174
174
"""
175
175
function _Node (f:: _Function , expr:: Expr )
176
- @assert isexpr (expr, :call )
176
+ @assert Meta . isexpr (expr, :call )
177
177
# Performance optimization: most calls will be unary or binary
178
178
# operators. Therefore, we can specialize an if-statement to handle the
179
179
# common cases without needing to splat.
You can’t perform that action at this time.
0 commit comments