-
Notifications
You must be signed in to change notification settings - Fork 6
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
ReadStatColumns internal vectors store empty elements #21
Comments
This is resulting from the way how the ReadStatTables.jl/src/readstat.jl Lines 159 to 180 in fe71c4f
I wasn't aware of any substantial side-effect from doing this as the indices are considered to be internal. However, I plan to remove the |
This just came up when I thought about removing certain columns from a test. I'll close the issue if it's not a plain bug. |
I'm not sure if I'm missing something in the implementation but this seems weird to me. The fifth and sixth columns have type index 7 (double) but location index 4 and 5 in that vector, even though they are vectors 2 and 3 if counted upwards from 1. Why the empty slots 2, 3 and 7? I guess the index erroneously counts upwards even if columns of other types are added after the first one.
The text was updated successfully, but these errors were encountered: