-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix for issue 305 #309
fix for issue 305 #309
Conversation
int shingleSize = state.getShingleSize(); | ||
int baseDimension = dimensions / shingleSize; | ||
for (int i = 0; i < tempList.length; i++) { | ||
checkArgument(tempList[i] % baseDimension == 0, " incorrect state"); |
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.
Can we provide a more descriptive error message?
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.
agree, not so easy to get what's wrong with the general error message
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.
Done
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.
LGTM. Thanks a lot for fixing this quickly!
Issue #, if available: Issue 305. The most recent changes to main broke the state classes older models (version 2.0.1).
Description of changes: Changes the PointStoreMapper to address the transformation and adds tests.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.