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

Proposal to upgrade number_of_columns #926

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

perazz
Copy link
Member

@perazz perazz commented Jan 29, 2025

Using getline instead of non-advancing io, we may be able to fix #924

cc: @jvdp1 @jalvesz

Copy link
Member

@jvdp1 jvdp1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you @perazz

src/stdlib_io.fypp Outdated Show resolved Hide resolved
Co-authored-by: Jeremie Vandenplas <[email protected]>
@perazz
Copy link
Member Author

perazz commented Jan 29, 2025

Thank you @jvdp1 - forgot to mention: this is clearly a compiler issue: sometimes, it skips the end-of-line character and keeps reading in all values as if they were from the first line imho.

Copy link
Contributor

@jalvesz jalvesz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch @perazz

@perazz
Copy link
Member Author

perazz commented Jan 30, 2025

Thank you @jvdp1 @jalvesz, I'll merge this with two approvals.

@perazz perazz merged commit 399f9a1 into fortran-lang:master Jan 30, 2025
14 checks passed
@perazz perazz deleted the fix_number_of_columns branch January 30, 2025 08:53
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.

loadtxt CI failure
3 participants