Skip to content

Commit

Permalink
Merge pull request #1301 from KrisThielemans/sirf_inverse_transform_fix
Browse files Browse the repository at this point in the history
Fix check on number of arguments in sirf_inverse_transform.cpp
  • Loading branch information
KrisThielemans authored Jan 21, 2025
2 parents 7639374 + 5465550 commit e0f53f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Registration/cReg/sirf_inverse_transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ int main(int argc, char* argv[])
print_usage_and_exit(program_name, EXIT_SUCCESS);

// Check for all compulsory arguments
if (argc<5)
if (argc<4)
print_usage_and_exit(program_name, EXIT_FAILURE);
// Output image
const std::string output_filename = argv[1];
Expand Down

0 comments on commit e0f53f5

Please sign in to comment.