From a2a65895cf449dde74a77e12dfce8246e579fc5a Mon Sep 17 00:00:00 2001
From: tinatorabi <tntorabii@gmail.com>
Date: Mon, 26 Aug 2024 17:49:57 -0700
Subject: [PATCH] full path

---
 src/solvers.jl             | 4 ++--
 test/test_linearsolvers.jl | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/solvers.jl b/src/solvers.jl
index 29eabe2..76c9157 100644
--- a/src/solvers.jl
+++ b/src/solvers.jl
@@ -234,9 +234,9 @@ ASP(; P = I) = ASP(P)
 
 function solve(solver::ASP, A, y; kwargs...)
     AP = A / solver.P
-    tracer = asp_homotopy(AP, y; loglevel=0, kwargs...)
+    tracer = asp_homotopy(AP, y; loglevel=0, traceFlag=true, kwargs...)
     xs = tracer[end][1]
     x_f = solver.P \ Array(xs)
     println("done.")
-    return Dict{String, Any}("C" => x_f)
+    return Dict{String, Any}("C" => x_f, "tracer" =>tracer)
 end
diff --git a/test/test_linearsolvers.jl b/test/test_linearsolvers.jl
index 32ed249..b81616e 100644
--- a/test/test_linearsolvers.jl
+++ b/test/test_linearsolvers.jl
@@ -115,6 +115,8 @@ C = results["C"]
 solver = ACEfit.ASP(P = P)
 results = ACEfit.solve(solver, A, y)
 C = results["C"]
+full_path = results["tracer"]
 @show norm(A * C - y)
 @show norm(C)
 @show norm(C - c_ref)
+