Skip to content

Allow -R region starting with a decimal point (e.g. -R.5/1/.5/1) - #9242

Merged
Esteban82 merged 1 commit into
masterfrom
fix-region-leading-dot
Oct 1, 2026
Merged

Esteban82 merged 1 commit into
masterfrom
fix-region-leading-dot

Conversation

@Esteban82

Copy link
Copy Markdown
Member

Description of proposed changes
-R.5/1/.5/1 fails with a "Programming error", while-R0.5/1/.5/1works. Reported in the forum.

This PR fixes the problem.

How to test

This one-liner must create a figure:

gmt basemap -R.5/1/.5/1 -B.1 -png lixo

Done with Claude Sonnet 5.5, review with Opus 5.5.

@thwbecker, could you test it?

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Esteban82
Esteban82 requested a review from joa-quim October 1, 2026 19:07
@Esteban82 Esteban82 added enhancement Improving an existing feature add-changelog Add PR to the changelog labels Oct 1, 2026
@Esteban82
Esteban82 merged commit 75f7156 into master Oct 1, 2026
17 of 20 checks passed
@Esteban82
Esteban82 deleted the fix-region-leading-dot branch October 1, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add-changelog Add PR to the changelog enhancement Improving an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants