From a16b094f23f9d664ec71544b7ef9ff487101af7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20Ri=C3=9F?= Date: Tue, 2 Feb 2010 22:14:30 +0100 Subject: fehler gefunden. --- House.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/House.cpp b/House.cpp index d514b44..9ea0a1e 100644 --- a/House.cpp +++ b/House.cpp @@ -405,7 +405,7 @@ void House::calcneededenergy() { float x=0; calcdiff(); for (int i=0; i<12; ++i) { - for (int j=0; j<24; ++i) { + for (int j=0; j<24; ++j) { if (tempdifference>0) { switch (i) { case 0: x+= tempdifference[i][j]*31; break; -- cgit v1.2.3