From 39dd3fc0efbfc9c46ece678d2d9f2791f12a7f74 Mon Sep 17 00:00:00 2001 From: Chen Kasirer Date: Mon, 22 Jan 2024 18:36:00 +0100 Subject: [PATCH] import cross from numpy instead of scipy --- CHANGELOG.md | 2 ++ src/compas/numerical/operators.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ac9ee77412..3307ee46ce9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +* Fixed `ImportError` when when `scipy==1.12.0` is installed. + ### Removed diff --git a/src/compas/numerical/operators.py b/src/compas/numerical/operators.py index 4f4706b1dc3..8a966983ae9 100644 --- a/src/compas/numerical/operators.py +++ b/src/compas/numerical/operators.py @@ -7,7 +7,7 @@ from numpy import hstack from numpy import tile -from scipy import cross +from numpy import cross from scipy.sparse import coo_matrix from compas.numerical.linalg import normrow