Skip to content

Commit

Permalink
Merge pull request #120 from xatier/master
Browse files Browse the repository at this point in the history
Initialize NodeInSpan struct members properly
  • Loading branch information
lukhnos authored Feb 20, 2024
2 parents 5ff91ff + 42d88af commit 12025ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engine/gramambular2/reading_grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class ReadingGrid {

struct NodeInSpan {
NodePtr node;
size_t spanIndex;
size_t spanIndex = 0;
};

// Find all nodes that overlap with the location. The return value is a list
Expand Down

0 comments on commit 12025ca

Please # to comment.