mcvine / acc

Accelerated mcvine engine
0 stars 1 forks source link

Properly filter out the neutrons that don't enter the guide. #32

Closed mtbc closed 2 years ago

mtbc commented 2 years ago

Thanks to @ckendrick for pinpointing the exception that I ran into with,

do_process(Guide('test guide', 3, 3, 2, 2, 9), [neutron([x, 1, 0], [0, 0, 5]) for x in [1, 2]])

With this PR #33 should then pass.