Commit 1ca080e
[opt_transport] Replace np.sum(a * b) with np.vdot(a, b) (#475)
* Replace np.sum(a * b) with np.vdot(a, b)
* add @oyamad suggestion to mention the use of vdot
---------
Co-authored-by: mmcky <[email protected]>1 parent 245e304 commit 1ca080e
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
| 670 | + | |
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
| 674 | + | |
| 675 | + | |
674 | 676 | | |
675 | 677 | | |
676 | 678 | | |
| |||
0 commit comments