From 93d7a0ad1a926d58e71404fb2c6d6f495dde0226 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lisa=20Sch=C3=A4tzle?= <lisa.schaetzle@kit.edu>
Date: Tue, 13 Aug 2024 13:19:46 +0000
Subject: [PATCH] Update example_5_1.m

---
 src/example_5_1.m | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/example_5_1.m b/src/example_5_1.m
index 5cd5c45..0e4c8f8 100644
--- a/src/example_5_1.m
+++ b/src/example_5_1.m
@@ -93,7 +93,7 @@ B = cell(1,nr_rep);
 for iteri = 1:nr_rep
     z = [znut, zkite(:,iteri)];
 
-    [A, nr_of_iterations, Resnorm] = FISTA_secondOrder(G{iteri}, sampling, k, P_OmegaC, z, kmax);
+    [A, ~, ~] = FISTA_secondOrder(G{iteri}, sampling, k, P_OmegaC, z, kmax);
     Aall{iteri} = A{1};
     Anut{iteri} = A{2};
     Akite{iteri} = A{3};
@@ -254,7 +254,7 @@ for iteri = 1:nr_rep
    z = [znut, zkite];
    R = [R_nut(iteri), R_kite];
    
-   [A, nr_of_iterations, Res] = CG_secondOrder(G{iteri}, sampling, k, P_Omega, z, R, kmax, tol);
+   [A, ~, ~] = CG_secondOrder(G{iteri}, sampling, k, P_Omega, z, R, kmax, tol);
 
    Aall{iteri} = A{2} + A{3} + A{4} + A{5};
    A = {A{1},A{indOfInterest+1}};
@@ -280,7 +280,7 @@ B = cell(1,nr_rep);
 for iteri = 1:nr_rep
     z = [znut, zkite];
 
-    [A, nr_of_iterations, Resnorm] = FISTA_secondOrder(G{iteri}, sampling, k, P_OmegaC, z, kmax);
+    [A, ~, ] = FISTA_secondOrder(G{iteri}, sampling, k, P_OmegaC, z, kmax);
     Aall{iteri} = A{1};
     Anut{iteri} = A{2};
     Akite{iteri} = A{3};
-- 
GitLab