Skip to content

Commit

Permalink
Making a few indices unsigned ints, as they should be. RE:#386
Browse files Browse the repository at this point in the history
  • Loading branch information
phargogh committed Jun 21, 2024
1 parent 4f0e062 commit d645b70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pygeoprocessing/routing/routing.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ cdef struct DecayingValue:
# Additionally, we track all of the decaying values from upstream that
# influence the load on this pixel. Used during decaying flow accumulation.
cdef struct WeightedFlowPixelType:
int xi # The pixel's x coordinate in pixel space
int yi # The pixel's y coordinate in pixel space
unsigned int xi # The pixel's x coordinate in pixel space
unsigned int yi # The pixel's y coordinate in pixel space
int last_flow_dir # The last flow direction processed on this pixel
double value # The flow accumulation value at this pixel
queue[DecayingValue] decaying_values # A queue of upstream decaying values that affect the accumulation on this pixel.
Expand Down

0 comments on commit d645b70

Please sign in to comment.