<commit_before>#include "Map.hpp"

Map::Map(unsigned int height, unsigned int width, time_t seed):
	mSeed(seed) {
	setWidth(height);
	setHeight(width);
	mScale = 2;
	generateMap();
}

Map::~Map() {
	for(unsigned int i = 0; i < mHeight; i++)
		delete mMap[i];

	delete mMap;
}

Map::PrintType** Map::generateMap() {
<commit_msg>fixed Map destructor<commit_after>#include "Map.hpp"

Map::Map(unsigned int height, unsigned int width, time_t seed):
	mSeed(seed) {
	setWidth(height);
	setHeight(width);
	mScale = 2;
	generateMap();
}

Map::~Map() {
	delete[] mMap;
}

Map::PrintType** Map::generateMap() {

{'fraction_non_alphanumeric': 0.17470881863560733, 'fraction_numerical': 0.004991680532445923, 'mean_word_length': 5.543478260869565, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3979836', 'n_tokens_mistral': 235, 'n_tokens_neox': 231, 'n_words': 53}