Skip to content

Commit

Permalink
Fixed not checking last row and column when adapting to intensity in sv
Browse files Browse the repository at this point in the history
  • Loading branch information
heikohimu committed Oct 28, 2021
1 parent 992819c commit 515b135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bgui/imageadapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ template<class T> class ImageAdapter : public ImageAdapterBase

for (int d=dmin; d<=dmax; d++)
{
for (long y=ymin; y<ymax; y++)
for (long y=ymin; y<=ymax; y++)
{
for (long x=xmin; x<xmax; x++)
for (long x=xmin; x<=xmax; x++)
{
double v=image->get(x, y, d);

Expand Down

0 comments on commit 515b135

Please sign in to comment.