mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 16:37:13 +00:00
Add missing scipy run-time dep to eigen test
scipy is imported in pybind11/eigen.h when it encounters a sparse matrix, which gets tested in the eigen test.
This commit is contained in:
parent
a720a6046e
commit
eae180cd0b
@ -13,6 +13,7 @@ from example import double_row, double_col
|
|||||||
from example import double_mat_cm, double_mat_rm
|
from example import double_mat_cm, double_mat_rm
|
||||||
try:
|
try:
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
import scipy
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# NumPy missing: skip test
|
# NumPy missing: skip test
|
||||||
exit(99)
|
exit(99)
|
||||||
|
Loading…
Reference in New Issue
Block a user