Skip to content

Commit ef08499

Browse files
committed
Fix escaping in @round
1 parent 104a836 commit ef08499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/intervals/rounding_macros.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function round_expr(ex::Expr, rounding_mode::RoundingMode)
2222
return :( $(esc(op))( $(esc(ex.args[2])), $(esc(ex.args[3])), $rounding_mode) )
2323

2424
else # unary operator
25-
return :( $op($(esc(ex.args[2])), $rounding_mode ) )
25+
return :( $(esc(op))($(esc(ex.args[2])), $rounding_mode ) )
2626
end
2727
else
2828
return ex

0 commit comments

Comments
 (0)