Commit affc1bf
BUG: fix brentq doesn't raise error in singlediode (#556)
* if `brentq` is called in `singlediode.py` but no SciPy, then should raise an exception
* currently using `NotImplemented` raises TypeError: 'NotImplementedType' object is not callable because `NotImplemented` is a constant1 parent 45109de commit affc1bf
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments