mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 07:02:11 +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
|
||||
try:
|
||||
import numpy as np
|
||||
import scipy
|
||||
except ImportError:
|
||||
# NumPy missing: skip test
|
||||
exit(99)
|
||||
|
Loading…
Reference in New Issue
Block a user