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 for string parsing and dimension handling (fixes SF#367) #64

Merged
merged 1 commit into from Mar 7, 2015

Conversation

zmughal
Copy link
Member

@zmughal zmughal commented Mar 7, 2015

There was a logic error where ->setdims([]) would get called when trying
to remove the outermost dimension, but this would run after using
clump() on a string that had a single value and ->dims() == 1.

This also fixes the BAD value parsing bug in SF#367 which led to an
incorrect BAD value when parsing the string "[BAD]".
See http://sourceforge.net/p/pdl/bugs/367/,
#47.

@zmughal zmughal added this to the PDL v2.008 milestone Mar 7, 2015
There was a logic error where ->setdims([]) would get called when trying
to remove the outermost dimension, but this would run after using
clump() on a string that had a single value and ->dims() == 1.

This also fixes the BAD value parsing bug in SF#367 which led to an
incorrect BAD value when parsing the string "[BAD]".
See <http://sourceforge.net/p/pdl/bugs/367/>,
<#47>.
@zmughal zmughal force-pushed the fix-bad-value-string-parsing branch from 95346c8 to 9585de3 Compare March 7, 2015 08:04
@wchristian wchristian merged commit 9585de3 into master Mar 7, 2015
@mohawk2 mohawk2 deleted the fix-bad-value-string-parsing branch March 13, 2015 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants