bug in gyre_output:write_summary

Bug/problem reports for any of the GYRE executables (gyre_ad, gyre_nad, etc)
Post Reply
ccameron
Posts: 12
Joined: Sun Apr 07, 2013 11:35 am

bug in gyre_output:write_summary

Post by ccameron » Tue Apr 09, 2013 1:01 pm

Hi Rich,

When trying to write summary output to file using the default summary items list the code quits at 'freq_units'.

It just looks like you forgot the case statement for 'freq_units' in gyre_output:write_summary at line 103. So when the
item_loop : do j = 1,SIZE(item_list) hits 'freq_units' it just jumps to the case default and quits.

Chris

PS Thanks for taking the time to write this code and for making it public!

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: bug in gyre_output:write_summary

Post by rhtownsend » Wed Apr 10, 2013 1:01 pm

ccameron wrote:
> Hi Rich,
>
> When trying to write summary output to file using the default summary items list
> the code quits at 'freq_units'.
>
> It just looks like you forgot the case statement for 'freq_units' in gyre_output:write_summary
> at line 103. So when the
> item_loop : do j = 1,SIZE(item_list) hits 'freq_units' it just jumps to the case
> default and quits.

Ah, well spotted! I've fixed this in the repository; do a 'hg pull && hg up' to update.

>
> Chris
>
> PS Thanks for taking the time to write this code and for making it public!

My pleasure!

cheers,

Rich

Post Reply