Skip to content

Commit

Permalink
fix delineating
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec committed Nov 29, 2024
1 parent 627d614 commit 559e844
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/watershed/reoswatersheddelineating.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ void ReosWatershedDelineatingProcess::start()
do
{
bool stop = false;
for ( int r = 0; r < mRasterizedWatershed.columnCount(); ++r )
for ( int r = 0; r < mRasterizedWatershed.rowCount(); ++r )
if ( mRasterizedWatershed.value( r, c ) != 0 )
{
stop = true;
Expand All @@ -659,7 +659,7 @@ void ReosWatershedDelineatingProcess::start()
do
{
bool stop = false;
for ( int r = 0; r < mRasterizedWatershed.columnCount(); ++r )
for ( int r = 0; r < mRasterizedWatershed.rowCount(); ++r )
if ( mRasterizedWatershed.value( r, c ) != 0 )
{
stop = true;
Expand Down

0 comments on commit 559e844

Please sign in to comment.