Skip to content

Commit

Permalink
msm2: Fix compile error with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-alexandrov committed Mar 3, 2022
1 parent dfc351c commit 61da608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3rdparty/msmw2/libstereo_newversion/cc_postprocess.cc
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ int cc_postprocess(int w, int h, float *img, float *msk, float *out, float *outm
if(maxerr< MAXERR && vmax-vmin< MAXDIFF ) {
for(int i = 0;i<pixels.size();i++) {
int idx = pixels[i].x + pixels[i].y*w;
float vv[3] = {pixels[i].x, pixels[i].y, 0};
float vv[3] = {float(pixels[i].x), float(pixels[i].y), float(0.0)};
out[idx] = eval_model(3, vv, model);
outmsk[idx] = 254;
}
Expand Down

0 comments on commit 61da608

Please sign in to comment.