Closed ghutchis closed 8 years ago
libavogadro\src\extensions\quantuminput\gamessinputdata.h line 518 :
inline short SetGuess(short NewGuess) {if ((NewGuess<0)&&(NewGuess>5)) return -1; GuessType = NewGuess; return GetGuess();};
Logical conjunction always evaluates to false: NewGuess < 0 && NewGuess > 5.
May be it bug.
Snapshot avogadro-code-bbf9a0dcc3448ca7d604ede03108a7dfc8fcef32.
I use cppcheck. Thanks.
Reported by: ttttrrrr
libavogadro\src\extensions\quantuminput\gamessinputdata.h line 518 :
inline short SetGuess(short NewGuess) {if ((NewGuess<0)&&(NewGuess>5)) return -1; GuessType = NewGuess; return GetGuess();};
Logical conjunction always evaluates to false: NewGuess < 0 && NewGuess > 5.
May be it bug.
Snapshot avogadro-code-bbf9a0dcc3448ca7d604ede03108a7dfc8fcef32.
I use cppcheck. Thanks.
Reported by: ttttrrrr