Page 1 of 1

typo in src/setup/setup.F

Posted: Fri Sep 12, 2014 2:09 pm
by leoteo
Dear developers,

I just noticed a little typo in src/setup/setup.F near line 78 (yambo SVN revision 59)
that results in a wrong unit cell vector reported during setup:

Code: Select all

 dumb_ch1='A2 ='//trim(real2ch(a(2,1)/alat(1)))//' '//trim(real2ch(a(2,2)/alat(2)))//' '//&
&                 trim(real2ch(a(2,3)/alat(3)))//'     '//&
&                 trim(real2ch(a(2,1)))//' '//trim(real2ch(a(2,2)))//' '//trim(real2ch(a(3,3)))
should be

Code: Select all

 dumb_ch1='A2 ='//trim(real2ch(a(2,1)/alat(1)))//' '//trim(real2ch(a(2,2)/alat(2)))//' '//&
&                 trim(real2ch(a(2,3)/alat(3)))//'     '//&
&                 trim(real2ch(a(2,1)))//' '//trim(real2ch(a(2,2)))//' '//trim(real2ch(a(2,3)))

Best,
Leopold

Re: typo in src/setup/setup.F

Posted: Fri Sep 12, 2014 3:26 pm
by Daniele Varsano
Dear Leopold,
Thanks a lot, I just noticed this typo, and I was convinced that it was fixed in the repository, probably it is not yet done and we will provide to fix it.
Thanks again,

Daniele