Skip to content

Commit 997152a

Browse files
committed
oops was RTNO
1 parent 722b870 commit 997152a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gfloat/round_ndarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def round_ndarray(
9292
d = delta * 2.0**srnumbits
9393
floord = np.floor(d).astype(np.int64)
9494
dd = d - floord
95-
drnd = floord + (dd > 0.5) + ((dd == 0.5) & ~_isodd(floord))
95+
drnd = floord + (dd > 0.5) + ((dd == 0.5) & _isodd(floord))
9696

9797
should_round_away = drnd > srbits
9898
case RoundMode.StochasticFast:

0 commit comments

Comments
 (0)