forked from M-Labs/nac3
1
0
Fork 0

core/type_inferencer: Fix error message

This commit is contained in:
David Mak 2024-05-08 18:24:09 +08:00
parent a777099ea8
commit 7627acea41
1 changed files with 1 additions and 1 deletions

View File

@ -943,7 +943,7 @@ impl<'a> Inferencer<'a> {
if !self.unifier.unioned(arg1_dtype, expected_arg1_dtype) {
return report_error(
format!(
"Expected {} for second argument of {id}, got {}",
"Expected broadcast-compatible type of ndarray[{}, N] for second argument of {id}, got {}",
self.unifier.stringify(expected_arg1_dtype),
self.unifier.stringify(arg1_dtype),
).as_str(),