Skip to content
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 bug with size variable's value not being set when map is empty #241

Closed
wants to merge 1 commit into from

Conversation

programmingkidx
Copy link
Contributor

In the type_convertion.m file the method to_c_items() does not set the c_dict.len variable if the size is equal to zero. This pull request changes things so that the variable is set earlier in the method so the size of the array does not stop the c_dict.len variable from being set.

@programmingkidx
Copy link
Contributor Author

See #242 instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant