@@ -96,7 +96,7 @@ def tensordot(a, b, axes=2, *, return_type=None):
96
96
from ._compressed import GCXS
97
97
98
98
# Much of this is stolen from numpy/core/numeric.py::tensordot
99
- # Please see license at https://github.com/numpy/numpy/blob/master /LICENSE.txt
99
+ # Please see license at https://github.com/numpy/numpy/blob/main /LICENSE.txt
100
100
check_zero_fill_value (a , b )
101
101
102
102
if scipy .sparse .issparse (a ):
@@ -623,7 +623,7 @@ def _dot_csr_csr(out_shape, a_data, b_data, a_indices, b_indices, a_indptr, b_in
623
623
"""
624
624
625
625
# much of this is borrowed from:
626
- # https://github.com/scipy/scipy/blob/master /scipy/sparse/sparsetools/csr.h
626
+ # https://github.com/scipy/scipy/blob/main /scipy/sparse/sparsetools/csr.h
627
627
628
628
# calculate nnz before multiplying so we can use static arrays
629
629
nnz = _csr_csr_count_nnz (out_shape , a_indices , b_indices , a_indptr , b_indptr )
@@ -922,7 +922,7 @@ def _dot_coo_coo(out_shape, a_coords, b_coords, a_data, b_data, a_indptr, b_indp
922
922
"""
923
923
924
924
# much of this is borrowed from:
925
- # https://github.com/scipy/scipy/blob/master /scipy/sparse/sparsetools/csr.h
925
+ # https://github.com/scipy/scipy/blob/main /scipy/sparse/sparsetools/csr.h
926
926
927
927
n_row , n_col = out_shape
928
928
# calculate nnz before multiplying so we can use static arrays
0 commit comments