Skip to content
Snippets Groups Projects
Commit 5d3bd541 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Bugfix: Comparing size of list with itself gives no meaning in validation

parent 54f019c6
No related branches found
No related tags found
No related merge requests found
......@@ -228,7 +228,7 @@ public class NaerstadModel extends I18nImpl implements Model{
if( this.RR.size() != this.TM.size()
|| this.Q0.size() != this.TM.size()
|| this.UM.size() != this.TM.size()
|| this.BT.size() != this.BT.size())
|| this.BT.size() != this.TM.size())
{
throw new ConfigValidationException("Incorrect number of weather data. TM.size() = " + this.TM.size() + ", BT.size()=" + this.BT.size() + ", UM.size()=" + this.UM.size() + ", RR.size()=" + this.RR.size() + ", Q0.size=" + this.Q0.size());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment