Skip to content

Commit 05a76e5

Browse files
authored
Merge pull request #1270 from compas-dev/scipy_cross
import cross from numpy instead of scipy
2 parents 87a358d + 39dd3fc commit 05a76e5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
* Fixed `ImportError` when when `scipy==1.12.0` is installed.
15+
1416
### Removed
1517

1618

src/compas/numerical/operators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from numpy import hstack
88
from numpy import tile
99

10-
from scipy import cross
10+
from numpy import cross
1111
from scipy.sparse import coo_matrix
1212

1313
from compas.numerical.linalg import normrow

0 commit comments

Comments
 (0)