[standalone] linalg: Fix function name in error message

This commit is contained in:
David Mak 2024-11-28 16:38:35 +08:00
parent 814dda55d7
commit cf8d732532
1 changed files with 1 additions and 1 deletions

View File

@ -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();