Skip to content

Commit

Permalink
Merge pull request #2903 from MRtrix3/mrregister_opt_fix
Browse files Browse the repository at this point in the history
mrregister: Fix -nl_init option
  • Loading branch information
Lestropie authored May 15, 2024
2 parents 24b275d + ca06704 commit 24ddae9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/mrregister.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,8 @@ void run() {
}
}

const bool nonlinear_init = !get_options("nl_init").empty();
opt = get_options("nl_init");
const bool nonlinear_init = !opt.empty();
if (nonlinear_init) {

if (!do_nonlinear)
Expand Down

0 comments on commit 24ddae9

Please sign in to comment.