-
Notifications
You must be signed in to change notification settings - Fork 47
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
Conversation
Using the G0 descriptor the compiler checks the best way to output the number
write ( this%file_unit, '(" ")' ) | ||
write ( this%file_unit, '("# options")' ) | ||
write ( this%file_unit, '(a)' ) this%txtoptions | ||
write ( this%file_unit, '(a)' ) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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=?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same reason as before.
Thanks @14NGiestas |
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.