Commit 388a397d authored by Thomas White's avatar Thomas White
Browse files

Check the right variable (whoops)

parent d5f2f7ee
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment