GNOME Bugzilla – Bug 783928
valac thinks variable is a type
Last modified: 2017-11-21 08:13:18 UTC
Source: https://github.com/steveno/balistica/tree/aa04e8c1977921308d537e76aa02828a7ecc07b5 The error: /home/ben/dev/balistica/src/libbalistica/atmosphere.vala:37.61-37.76: error: The type name `RelativeHumidity' could not be found double FRH = 0.995 * (Pressure / (Pressure - (0.3783) * (RelativeHumidity) * VPw)) ; ^^^^^^^^^^^^^^^^ However, the variable is defined: https://github.com/steveno/balistica/blob/aa04e8c1977921308d537e76aa02828a7ecc07b5/src/libbalistica/atmosphere.vala#L37
Do not overuse parentheses! double FRH = 0.995 * (Pressure / (Pressure - (0.3783 * RelativeHumidity * VPw)));
*** Bug 787134 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 790648 ***