MilesCranmer commited on
Commit
29eb327
1 Parent(s): 226786e

Fix broken log operator - infinite recursion!

Browse files
Files changed (1) hide show
  1. operators.jl +0 -1
operators.jl CHANGED
@@ -3,4 +3,3 @@ plus(x::Float32, y::Float32)::Float32 = x+y
3
  mult(x::Float32, y::Float32)::Float32 = x*y;
4
  pow(x::Float32, y::Float32)::Float32 = sign(x)*abs(x)^y;
5
  div(x::Float32, y::Float32)::Float32 = x/y;
6
- log(x::Float32)::Float32 = log(abs(x) + 1f-9);
 
3
  mult(x::Float32, y::Float32)::Float32 = x*y;
4
  pow(x::Float32, y::Float32)::Float32 = sign(x)*abs(x)^y;
5
  div(x::Float32, y::Float32)::Float32 = x/y;