|
11 | 11 | import SymbolicUtils |
12 | 12 | import SymbolicUtils as SU |
13 | 13 | import SymbolicUtils: iscall, arguments, operation, maketerm, promote_symtype, |
14 | | - isadd, ismul, ispow, issym, FnType, |
| 14 | + isadd, ismul, ispow, issym, FnType, isconst, BSImpl, |
15 | 15 | @rule, Rewriters, substitute, metadata, BasicSymbolic |
16 | 16 | using SymbolicUtils.Code |
17 | 17 | import SymbolicUtils.Code: toexpr |
18 | 18 | import SymbolicUtils.Rewriters: Chain, Postwalk, Prewalk, Fixpoint |
19 | 19 | using DocStringExtensions |
20 | 20 | using SpecialFunctions, NaNMath |
21 | | -using DiffEqCallbacks |
| 21 | +@recompile_invalidations begin |
| 22 | + using DiffEqCallbacks |
| 23 | +end |
22 | 24 | using Graphs |
23 | 25 | import ExprTools: splitdef, combinedef |
24 | 26 | import OrderedCollections |
@@ -332,6 +334,8 @@ export AbstractCollocation, JuMPCollocation, InfiniteOptCollocation, |
332 | 334 | CasADiCollocation, PyomoCollocation |
333 | 335 | export DynamicOptSolution |
334 | 336 |
|
| 337 | +const set_scalar_metadata = setmetadata |
| 338 | + |
335 | 339 | @public apply_to_variables, equations_toplevel, unknowns_toplevel, parameters_toplevel |
336 | 340 | @public continuous_events_toplevel, discrete_events_toplevel, assertions, is_alg_equation |
337 | 341 | @public is_diff_equation, Equality, linearize_symbolic, reorder_unknowns |
|
0 commit comments