summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Riß <constantin.riss@dre.de>2010-02-02 22:14:30 +0100
committerConstantin Riß <constantin.riss@dre.de>2010-02-02 22:14:30 +0100
commita16b094f23f9d664ec71544b7ef9ff487101af7d (patch)
tree6f1096d4fbf19e110b3108c862323f292a74c0fa
parent975d9a13348953943499bc25b272d1c478f36ee3 (diff)
downloadc3d-a16b094f23f9d664ec71544b7ef9ff487101af7d.tar
c3d-a16b094f23f9d664ec71544b7ef9ff487101af7d.zip
fehler gefunden.
-rw-r--r--House.cpp2
1 files changed, 1 insertions, 1 deletions
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;