Skip to content
Snippets Groups Projects
Commit 76e3ff1e authored by Andreas Blakli's avatar Andreas Blakli
Browse files

La til RE_Testing.pdf, RN_Testing.pdf og SA_Testing.pdf i mappen tester.

parent f5e3dee6
Branches
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ Stopp* Rute::ny(const int& eksisterende, int pos) {
} while (!stoppPlass.empty());
// Hvis ikke nok stopp er lagt inn på ruten
if (alleStoppestedenePaaRuten.size() <= 1 && eksisterende != -1) {
if (alleStoppestedenePaaRuten.size() <= 1 && eksisterende == -1) {
cout << "\nIkke nok stopp lagt inn! Avbryter" << '\n';
return nullptr;
}
......
File added
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment