Skip to content

Commit 0794745

Browse files
authored
Update floor1.c
1 parent 1703725 commit 0794745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/floor1.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ static int inspect_error(int x0,int x1,int y0,int y1,const float *mask,
560560

561561
if(info->maxover*info->maxover/n>info->maxerr)return(0);
562562
if(info->maxunder*info->maxunder/n>info->maxerr)return(0);
563-
if(mse/n>info->maxerr)return(1);
563+
if((float)(mse)/n>info->maxerr)return(1);
564564
return(0);
565565
}
566566

0 commit comments

Comments
 (0)