SiLab-Bonn / Scarce

Charge collection efficiency simulation for irradiated silicon detectors.
MIT License
1 stars 0 forks source link

Example: irradiation_planar fails #3

Open SinuoZhang opened 7 years ago

SinuoZhang commented 7 years ago
Traceback (most recent call last):
  File "E:\intership\Scarce-master\scarce\examples\irradiation_planar.py", line 122, in <module>
    transient_irrad()
  File "E:\intership\Scarce-master\scarce\examples\irradiation_planar.py", line 75, in transient_irrad
    _, _, I_ind_e, I_ind_h, T, _ = dd.solve(p0, q0, dt, n_steps)
ValueError: too many values to unpack
SinuoZhang commented 7 years ago

This issue is currently solved by adding two more ",_" before the "=", since the "dd.solve()" returns 8 objects The same correction should also be implemented for line 76