Skip to content

Commit

Permalink
fix evision_to
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Jun 15, 2024
1 parent c1d3327 commit afa9364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/evision.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ static bool evision_to(ErlNifEnv *env, ERL_NIF_TERM o, Mat& m, const ArgInfo& in
return false;
}
}
for (i = sz; i < 4; i++) {
for (i = sz; i < sz2; i++) {
m.at<double>(i) = 0.0;
}
return true;
Expand Down

0 comments on commit afa9364

Please sign in to comment.