PySR / operators.jl
MilesCranmer's picture
Add a python interface
cfca8a4
raw
history blame
116 Bytes
# Define allowed operators
plus(x::Float32, y::Float32)::Float32 = x+y
mult(x::Float32, y::Float32)::Float32 = x*y;