lingtikong / fix-phonon

Automatically exported from code.google.com/p/fix-phonon
6 stars 4 forks source link

while loop in phonon.cpp (line: 372) #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
That line of the code is causing an infinite loop.
So I had to commented it out and recompile again.
A.

Original issue reported on code.google.com by ap1...@nyu.edu on 11 Feb 2012 at 11:32

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I must be having some kind of I/O problem but phana could not 
break out of the while loop when I input "q" to exit.
That is, the line 
 else if ((nr == 1) && (strcmp(str,"q") == 0)) break;
in phonon.cpp.
So I commented out the while loop, which is fine
if you just need to sample 1 segment of the BZ zone.

A.  

Original comment by ap1...@nyu.edu on 11 Feb 2012 at 11:51

GoogleCodeExporter commented 9 years ago
This has been fixed in the latest release, sorry for that.

Original comment by kon...@gmail.com on 12 Feb 2012 at 9:02

GoogleCodeExporter commented 9 years ago
Thank you for making fix-phonon freely available.
I will upgrade to the latest version of the code.

A.

Original comment by ap1...@nyu.edu on 12 Feb 2012 at 12:39