From d484d44d953b41469117c46b45ece23e7b7e06ab Mon Sep 17 00:00:00 2001 From: David Mak Date: Thu, 28 Nov 2024 16:38:35 +0800 Subject: [PATCH] [standalone] linalg: Fix function name in error message --- nac3standalone/demo/linalg/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nac3standalone/demo/linalg/src/lib.rs b/nac3standalone/demo/linalg/src/lib.rs index c671e0b7f6..ff503c97e2 100644 --- a/nac3standalone/demo/linalg/src/lib.rs +++ b/nac3standalone/demo/linalg/src/lib.rs @@ -92,7 +92,7 @@ pub unsafe extern "C" fn np_linalg_qr( if mat1.ndims != 2 { let err_msg = format!("expected 2D Vector Input, but received {}D input", mat1.ndims); - report_error("ValueError", "np_linalg_cholesky", file!(), line!(), column!(), &err_msg); + report_error("ValueError", "np_linalg_qr", file!(), line!(), column!(), &err_msg); } let dim1 = (*mat1).get_dims();