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 bug with decimal places in range option #6

Merged
merged 1 commit into from
Sep 8, 2020

Conversation

14NGiestas
Copy link
Contributor

Using the G0 descriptor the compiler checks the best way to output the number.
I took the liberty and made some changes in the write statements to make them look the same.

Using the G0 descriptor the compiler checks the best way to output the number
@14NGiestas 14NGiestas mentioned this pull request Sep 4, 2020
ogpf.f90 Show resolved Hide resolved
write ( this%file_unit, '(" ")' )
write ( this%file_unit, '("# options")' )
write ( this%file_unit, '(a)' ) this%txtoptions
write ( this%file_unit, '(a)' )
Copy link
Owner

Choose a reason for hiding this comment

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

What is the reason for modifying this section?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Consistency: why some write statements have the unit= and fmt= while others don't?

case ('loglog')
write ( this%file_unit, '(a)' ) 'set logscale xy'
write ( this%file_unit, '("set logscale xy")' )
case default !for no setting
!pass
end select
Copy link
Owner

Choose a reason for hiding this comment

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

Use ' instead " for consistency
Keep inline comments
The reason you deleted fmt=?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same reason as before.

@kookma kookma merged commit c25b6ea into kookma:master Sep 8, 2020
@kookma
Copy link
Owner

kookma commented Sep 8, 2020

Thanks @14NGiestas

@14NGiestas 14NGiestas deleted the patch-1 branch May 4, 2022 00:16
@14NGiestas 14NGiestas restored the patch-1 branch May 4, 2022 00:16
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.

2 participants