Skip to content

Commit 28524f7

Browse files
Fix check on number of arguments
Fixes #1300
1 parent b205384 commit 28524f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Registration/cReg/sirf_inverse_transform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ int main(int argc, char* argv[])
6161
print_usage_and_exit(program_name, EXIT_SUCCESS);
6262

6363
// Check for all compulsory arguments
64-
if (argc<5)
64+
if (argc<4)
6565
print_usage_and_exit(program_name, EXIT_FAILURE);
6666
// Output image
6767
const std::string output_filename = argv[1];

0 commit comments

Comments
 (0)