From c84368fbd23e36dcd1c6deb09fed09647aac97a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20M=C3=B8yner?= Date: Tue, 3 Dec 2024 11:05:45 +0100 Subject: [PATCH] Fix typo --- src/gradients/objectives.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gradients/objectives.jl b/src/gradients/objectives.jl index e80be191..2a0cf398 100644 --- a/src/gradients/objectives.jl +++ b/src/gradients/objectives.jl @@ -51,7 +51,7 @@ function compute_well_qoi(model::MultiModel, state, forces, well::Symbol, target return qoi end -function compute_well_qoi(well_model, wstate, fstate, well::Symbol, pos, rhoS, control) +function compute_well_qoi(well_model, well_state, fstate, well::Symbol, pos, rhoS, control) well_state = convert_to_immutable_storage(well_state) q_t = fstate[:TotalSurfaceMassRate][pos] target = control.target