Skip to content
Snippets Groups Projects
Commit e989ec94 authored by Manuel Bucher's avatar Manuel Bucher
Browse files

fixed spelling mistake

parent 2d41e901
No related merge requests found
...@@ -308,7 +308,7 @@ void hk_print(Field *this) { ...@@ -308,7 +308,7 @@ void hk_print(Field *this) {
Tile *t = this->tiles; Tile *t = this->tiles;
for (uint32_t i = 1; i < this->num_tiles; i++) { for (uint32_t i = 1; i < this->num_tiles; i++) {
if (t[i].pair == 0) { if (t[i].pair == 0) {
// Es ex. nur eine Belegung, wenn alle Knoten gemached wurden // Es ex. nur eine Belegung, wenn alle Knoten gematched wurden
printf("None\n"); printf("None\n");
return; return;
} }
...@@ -316,7 +316,7 @@ void hk_print(Field *this) { ...@@ -316,7 +316,7 @@ void hk_print(Field *this) {
for (uint32_t i = 1; i < this->num_tiles; i++) { for (uint32_t i = 1; i < this->num_tiles; i++) {
if (tile_odd(&t[i])) if (tile_odd(&t[i]))
continue; continue;
// Gebe nur den machingpartner von der Haelfte der Knoten aus um // Gebe nur den matchingpartner von der Haelfte der Knoten aus um
// Doppelungen zu vermeiden // Doppelungen zu vermeiden
uint32_t p = t[i].pair; uint32_t p = t[i].pair;
printf("%u %u;%u %u\n", t[i].x, t[i].y, t[p].x, t[p].y); printf("%u %u;%u %u\n", t[i].x, t[i].y, t[p].x, t[p].y);
...@@ -328,7 +328,7 @@ void hk(Field *this) { ...@@ -328,7 +328,7 @@ void hk(Field *this) {
for (uint32_t i = 1; i < this->num_tiles; i++) { for (uint32_t i = 1; i < this->num_tiles; i++) {
if (tile_odd(&this->tiles[i])) if (tile_odd(&this->tiles[i]))
continue; continue;
// Starte Augmentation nur von Knoten, die noch nicht gemached sind // Starte Augmentation nur von Knoten, die noch nicht gematched sind
if (this->tiles[i].pair == 0) if (this->tiles[i].pair == 0)
hk_dfs(this, i); hk_dfs(this, i);
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment