1
0
forked from M-Labs/nac3

[standalone] linalg: Fix function name in error message

This commit is contained in:
David Mak 2024-11-28 16:38:35 +08:00
parent ac978864f2
commit d484d44d95

View File

@ -92,7 +92,7 @@ pub unsafe extern "C" fn np_linalg_qr(
if mat1.ndims != 2 { if mat1.ndims != 2 {
let err_msg = format!("expected 2D Vector Input, but received {}D input", mat1.ndims); 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(); let dim1 = (*mat1).get_dims();