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

split_string() System.f95 eats up delimiters #32

Open
albapa opened this issue May 26, 2016 · 0 comments
Open

split_string() System.f95 eats up delimiters #32

albapa opened this issue May 26, 2016 · 0 comments

Comments

@albapa
Copy link
Member

albapa commented May 26, 2016

We call split_string in teach_sparse.f95:
call split_string(descriptor_str,':','{}',main_teach_sparse%descriptor_str(:),main_teach_sparse%n_coordinate,matching=.true.)

This finds the delimiters correctly (i.e. it will not consider other ":"-s nested in descriptors as delimiters), but in the process it removes nested "{}"-s, within the correctly found fields. That causes problems later, when other parts of the code try to interpret the fields.

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

No branches or pull requests

1 participant