Commit 2227d6d
committed
nf: Fix assert( pDp->F < FLT_MAX ); in nf
This error was triggered by what appears to be a missing
saturating float check in Nf_ManCutMatchOne. When opened
in the debugger AreaF starts at FLT_MAX and in some cases
can be added to itself which results in +Inf. I noticed the
other if had a saturating condidtion.
I took a flyer on it, and added it to the previous condition,
and it resolved the error. I think this is a good fix.
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>1 parent d5e1a5d commit 2227d6d
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1172 | 1172 | | |
1173 | 1173 | | |
1174 | 1174 | | |
1175 | | - | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
1176 | 1179 | | |
1177 | 1180 | | |
1178 | 1181 | | |
| |||
0 commit comments