Skip to content

Commit

Permalink
Remove obsolete function
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-thom committed Nov 12, 2020
1 parent 7973a24 commit 291d39e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/utils/assert_op.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,3 @@ function assert_op(op, exp1, exp2)
end
)
end

function assert_op(exp1, op, exp2)
return :(
if !$op($(esc(exp1)), $(esc(exp2)))
val1 = $(esc(exp1))
val2 = $(esc(exp2))
op_str = $(esc(op))
throw(AssertionError("$val1 is not $op_str $val2"))
end
)
end

0 comments on commit 291d39e

Please sign in to comment.