typo orgnpin in ch_hhwatqual.f90

Issue #2 new
Kai-Uwe Eckhardt created an issue

Line 331 of ch_watwatqual.f90 conatins a typo and has to be changed from

if (orgpin < 1.e-6) orgnpin = 0.0

to

if (orgpin < 1.e-6) orgpin = 0.0

The same bug is present in SWAT rev. 664. These kind of bugs are hard to spot for a human, so please use all warning capabilities of your compilers. Warnings like 'variable set but not used' show either a bug like this or dead code.

Kind regards,

Kai-Uwe

Comments (0)

  1. Log in to comment