summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;