From 2fcb2be9a4c59ed6be2417d080b5b14138813633 Mon Sep 17 00:00:00 2001 From: sunwen Date: Tue, 27 Jun 2023 14:51:22 +0800 Subject: [PATCH] Change matlabWriter usage. --- test/Reconstruction_Test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Reconstruction_Test.cpp b/test/Reconstruction_Test.cpp index c891cd9..eb4ba67 100644 --- a/test/Reconstruction_Test.cpp +++ b/test/Reconstruction_Test.cpp @@ -382,5 +382,6 @@ TEST_F(Reconstruction_Test,callTval3){ auto result = Recon::callTval3(M, b, dims, 0,opt); auto outSOS = Recon::slownessToSOS(result, 1.498206569328594e+03) ; MatlabWriter w2("/home/krad/transmissionSOS111.mat"); - w2.write(outSOS, "SOS"); + w2.setMatrix(outSOS, "SOS"); + w2.write(); }