Skip to content

Commit 65cff10

Browse files
R2, R2DH & R2N : solve arrow print bug
1 parent ce8793c commit 65cff10

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/R2DH.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ function SolverCore.solve!(
380380
σk,
381381
norm(xk),
382382
norm(s),
383-
(η2 ρk < Inf) ? "" : (ρk < η1 ? "" : "="),
383+
(η2 ρk < Inf) ? '' : (ρk < η1 ? '' : '='),
384384
],
385385
colsep = 1,
386386
)
@@ -464,7 +464,7 @@ function SolverCore.solve!(
464464
σk,
465465
norm(xk),
466466
norm(s),
467-
(η2 ρk < Inf) ? "" : (ρk < η1 ? "" : "="),
467+
"",
468468
],
469469
colsep = 1,
470470
)

src/R2N.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ function SolverCore.solve!(
411411
norm(xk),
412412
norm(s),
413413
λmax,
414-
(η2 ρk < Inf) ? "" : (ρk < η1 ? "" : "="),
414+
(η2 ρk < Inf) ? '' : (ρk < η1 ? '' : '='),
415415
],
416416
colsep = 1,
417417
)
@@ -504,7 +504,7 @@ function SolverCore.solve!(
504504
norm(xk),
505505
norm(s),
506506
λmax,
507-
(η2 ρk < Inf) ? "" : (ρk < η1 ? "" : "="),
507+
"",
508508
],
509509
colsep = 1,
510510
)

src/R2_alg.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ function SolverCore.solve!(
374374
=> "σ",
375375
:normx => "‖x‖",
376376
:norms => "‖s‖",
377-
:arrow => " ",
377+
:arrow => "R2",
378378
),
379379
colsep = 1,
380380
)
@@ -454,7 +454,7 @@ function SolverCore.solve!(
454454
σk,
455455
norm(xk),
456456
norm(s),
457-
(η2 ρk < Inf) ? "" : (ρk < η1 ? "" : "="),
457+
(η2 ρk < Inf) ? '' : (ρk < η1 ? '' : '='),
458458
],
459459
colsep = 1,
460460
)
@@ -528,7 +528,7 @@ function SolverCore.solve!(
528528
σk,
529529
norm(xk),
530530
norm(s),
531-
(η2 ρk < Inf) ? "" : (ρk < η1 ? "" : "="),
531+
"",
532532
],
533533
colsep = 1,
534534
)

0 commit comments

Comments
 (0)