• Patrick Sanan's avatar
    Style: replace "!rank" with "rank == 0" · dd400576
    Patrick Sanan authored and Satish Balay's avatar Satish Balay committed
    In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds less
    tightly, so the result of the computation would otherwise change.
xops.c 32.2 KB