Menu

#1 Uninitialized boolean leads to infinite loop

2.0
closed
Dan
2014-01-06
2013-11-11
JasonSh
No

Hi,
First thanks for a tool that looks to be very useful, and that is going to save me from having to dig back through my old course notes to do this on my own!

Regarding the source-code for the 2.0.2 release, look in the function "get_growth" in edge_drig.f90. There you use an uninitialized boolean, "bracketed", that for me (on 64bit linux) eventually leads to an endless loop. Initializing bracketed to .false. prior to entering the do while loop, fixes this.

Discussion

  • Dan

    Dan - 2013-11-11

    Hey Jason,

    Thanks for your spotting that and letting me know. Oddly enough, it doesn't happen for me on 64 bit linux using GNU compilers. I will update the source code and also this thread when it is fixed.

    Dan

     
  • Dan

    Dan - 2014-01-06

    Hey Jason,

    Thanks for noticing this bug. It has been fixed in the most recent version of the code (v2.0.3).

     
  • Dan

    Dan - 2014-01-06
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.