mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-21 06:05:32 +08: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…
x
Reference in New Issue
Block a user