Skip to content

Commit

Permalink
forgot to uncomment out fill functions for powertable
Browse files Browse the repository at this point in the history
  • Loading branch information
benv12 committed Jan 21, 2025
1 parent 339e202 commit d3f8b3c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ERG_Mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ void PowerTable::fillTable() {

void PowerTable::extrapFillTable() {
// Find the center of the known data
/*int sumRow = 0, sumCol = 0, count = 0;
int sumRow = 0, sumCol = 0, count = 0;
for (int i = 0; i < POWERTABLE_CAD_SIZE; ++i) {
for (int j = 0; j < POWERTABLE_WATT_SIZE; ++j) {
if (this->tableRow[i].tableEntry[j].targetPosition != INT16_MIN) {
Expand Down Expand Up @@ -650,11 +650,11 @@ void PowerTable::extrapFillTable() {
}
}
}
}*/
}
}

void PowerTable::extrapolateDiagonal() {
/*int tempValue = INT16_MIN;
int tempValue = INT16_MIN;

for (int i = 0; i < POWERTABLE_CAD_SIZE; ++i) {
for (int j = 0; j < POWERTABLE_WATT_SIZE; ++j) {
Expand Down Expand Up @@ -716,7 +716,7 @@ void PowerTable::extrapolateDiagonal() {
}
}
}
}*/
}
}

int PowerTable::getNumEntries() {
Expand Down

0 comments on commit d3f8b3c

Please sign in to comment.