Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I think this is the root source of many bugs. This variable is used b…
…oth as an ordinal and as an index, and by setting it to represent both it seems to fix several bugs down the line. C++ never threw an index out of bounds exception, so it wa hard to deduce
- Loading branch information
56aabce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems perfectly situated to mess us up when some external process starts the counting at 2 or 0 or some other nonsensical thing. Can you treat it as a string/symbol instead? Eventually, the detdup suffix will be an arbitrary name that corresponds to the cross-product of labeled outcomes that makes it up. We'll need to be rid of these stoi conversions at that point anyways.
56aabce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will see what I can do!