diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/partial_sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c index 7c9ffc01..435f28ce 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -220,7 +220,7 @@ int main(int argc, char *argv[]) return 1; } det = get_detector_geometry(geomfile); - if ( cell == NULL ) { + if ( det == NULL ) { ERROR("Failed to read geometry from '%s'\n", geomfile); return 1; } |