Open MilesCranmer opened 1 year ago
Is there a way I can make the convenience functions (https://github.com/SymbolicML/DynamicExpressions.jl/blob/af68fa89fcad4e2272c91ae9e90baeda13ff49d2/src/OperatorEnumConstruction.jl#L49) more robust? Right now there are created with:
Base.MainInclude.eval(...)
from inside DynamicExpressions.OperatorEnum(...). Is there a way I can get a basic @eval to work here (and still extend the user-defined operators)? Perhaps I need to simply export the functions (or non-implemented versions of the functions)?
DynamicExpressions.OperatorEnum(...)
@eval
export
@odow any ideas/tips?
Is there a way I can make the convenience functions (https://github.com/SymbolicML/DynamicExpressions.jl/blob/af68fa89fcad4e2272c91ae9e90baeda13ff49d2/src/OperatorEnumConstruction.jl#L49) more robust? Right now there are created with:
from inside
DynamicExpressions.OperatorEnum(...)
. Is there a way I can get a basic@eval
to work here (and still extend the user-defined operators)? Perhaps I need to simplyexport
the functions (or non-implemented versions of the functions)?@odow any ideas/tips?