Commit c7a64d8
committed
Revert one of the previous fixes -- we should always iterate over the nonzeroes of x, since that is the vector with guaranteed the fewest number of nonzeroes. Instead, the error was in the computation of the mask -- it used y instead of x. Special note that the other fix WAS correct-- so there were two bugs in total. Also a minor code style fix
1 parent 8463a86 commit c7a64d8
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10398 | 10398 | | |
10399 | 10399 | | |
10400 | 10400 | | |
| 10401 | + | |
| 10402 | + | |
| 10403 | + | |
10401 | 10404 | | |
10402 | 10405 | | |
10403 | 10406 | | |
| |||
10432 | 10435 | | |
10433 | 10436 | | |
10434 | 10437 | | |
| 10438 | + | |
10435 | 10439 | | |
10436 | 10440 | | |
10437 | 10441 | | |
| |||
10450 | 10454 | | |
10451 | 10455 | | |
10452 | 10456 | | |
10453 | | - | |
10454 | | - | |
| 10457 | + | |
10455 | 10458 | | |
10456 | 10459 | | |
10457 | 10460 | | |
| |||
10463 | 10466 | | |
10464 | 10467 | | |
10465 | 10468 | | |
10466 | | - | |
| 10469 | + | |
10467 | 10470 | | |
10468 | 10471 | | |
10469 | 10472 | | |
| |||
10658 | 10661 | | |
10659 | 10662 | | |
10660 | 10663 | | |
10661 | | - | |
| 10664 | + | |
| 10665 | + | |
| 10666 | + | |
10662 | 10667 | | |
10663 | 10668 | | |
10664 | 10669 | | |
| |||
0 commit comments