changed the last double variables and values to float and add more hints to readme

This commit is contained in:
muebau
2024-05-26 11:01:57 +02:00
parent 5f0c6fce74
commit caf0a5bbe8
4 changed files with 7 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ public:
uint8_t fullLines;
uint16_t bumpiness;
uint16_t aggregatedHeight;
double score;
float score;
uint8_t width;
std::vector<uint8_t> lineHights;
@@ -57,7 +57,7 @@ public:
this->fullLines = 0;
this->bumpiness = 0;
this->aggregatedHeight = 0;
this->score = -DBL_MAX;
this->score = -FLT_MAX;
}
};