Skip to content

Always use `np.intp` for indices.

Codecov / codecov/patch succeeded Jan 18, 2024 in 0s

23.07% of diff hit (within 92.00% threshold of 90.22%)

View this Pull Request on Codecov

23.07% of diff hit (within 92.00% threshold of 90.22%)

Annotations

Check warning on line 114 in sparse/_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sparse/_utils.py#L113-L114

Added lines #L113 - L114 were not covered by tests

Check warning on line 118 in sparse/_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sparse/_utils.py#L118

Added line #L118 was not covered by tests

Check warning on line 125 in sparse/_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sparse/_utils.py#L125

Added line #L125 was not covered by tests

Check warning on line 172 in sparse/_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sparse/_utils.py#L170-L172

Added lines #L170 - L172 were not covered by tests

Check warning on line 189 in sparse/_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sparse/_utils.py#L189

Added line #L189 was not covered by tests

Check warning on line 204 in sparse/_utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

sparse/_utils.py#L203-L204

Added lines #L203 - L204 were not covered by tests