1D Energies
WillPugs opened this issue · 2 comments
WillPugs commented
The full_sim_1d function when asked to simulate for energies returns a ufunctypeerror for addition in the energy_change_1d function.
I think this is because at some point the names of two variables get mixed up but I cannot find which variables or where this happens (I think it is most likely the grid/strip or idx variable that gets mixed up somehow).
WillPugs commented
Note that the full_sim_2d function is able to simulate energies.
WillPugs commented
It seems to have been fixed after clearing the kernel and rerunning the code.