Skip to content

Commit b6af748

Browse files
committed
Format with air
1 parent 8506993 commit b6af748

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

R/r2f-operators.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ cast_binop_operands <- function(spec, op, left, right) {
9797
# R supports equality on complex values but refuses ordering; refuse
9898
# cleanly here instead of handing gfortran an invalid comparison.
9999
if (
100-
op %in% c("<", "<=", ">", ">=") &&
100+
op %in%
101+
c("<", "<=", ">", ">=") &&
101102
"complex" %in% c(left@value@mode, right@value@mode)
102103
) {
103104
stop("invalid comparison with complex values", call. = FALSE)

0 commit comments

Comments
 (0)