golosio / xrmc

17 stars 10 forks source link

xrmc-xmimsim: zero layers when no absorbers #48

Closed woutdenolf closed 4 years ago

woutdenolf commented 4 years ago

Fix bug (segfault) when using xmimsim 8.1 without a detector window

WindowPhase Vacuum                             ; Window material
WindowThickness 0                              ; Window thickness