-
Notifications
You must be signed in to change notification settings - Fork 16
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
Bug: instacrash of fluid.knnclassifier~
when loading empty dictionary
#422
Labels
bug
Something isn't working
Comments
Here's a crash report. Spicy bit:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please tell us what you were doing! You can include code and files by drag and dropping them into the text area.
I found an instacrash when you try and
load
adict
intofluid.knnclassifier~
that was created by afluid.classifier~
prior to having fed it any data.When you
dump
orwrite
afluid.knnclassifier~
without data empty you get the following dictionary contents:Here's a patch to reproduce:
What was the expected result?
It should either ignore the loaded
dict
or throw an error message.What was the actual result?
Instacrash!
What operating system were you using?
Mac
Operating system version
macOS 14.4.1
FluCoMa Version
1.0.7
The text was updated successfully, but these errors were encountered: