From ca06704a99deb519982738ef53020fbf9dfa2452 Mon Sep 17 00:00:00 2001 From: Robert Smith Date: Wed, 15 May 2024 19:27:55 +1000 Subject: [PATCH] mrregister: Fix -nl_init option Error introduced in d81d0ed101c0005519bf33b567395867fc4ce150 as manual refinement of #2829. --- cmd/mrregister.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/mrregister.cpp b/cmd/mrregister.cpp index 68cdae5908..ffa2f7b7ab 100644 --- a/cmd/mrregister.cpp +++ b/cmd/mrregister.cpp @@ -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)