- Notifications
You must be signed in to change notification settings - Fork5
Commit9f4563f
committed
Use IEEE infinity, not 1e10, for null-and-not-null case in gistpenalty().
Use of a randomly chosen large value was never exactly graceful, andnow that there are penalty functions that are intentionally using infinity,it doesn't seem like a good idea for null-vs-not-null to be using somethingless.1 parentc66e4f1 commit9f4563f
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
| |||
538 | 539 |
| |
539 | 540 |
| |
540 | 541 |
| |
541 |
| - | |
542 |
| - | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
543 | 546 |
| |
544 | 547 |
| |
545 | 548 |
| |
|
0 commit comments
Comments
(0)