Minor changes in debug output, added information

to error messages
This commit is contained in:
2024-03-15 15:49:40 +01:00
parent 55c51f8434
commit 2fccef7132
19 changed files with 41 additions and 32 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ double lengthPrefactor(const std::string& unit) {
} else if (unit == "mm") {
return 1E-3;
} else {
ERROR("I dont know this length unit.");
ERROR("I dont know this length unit: " + unit);
return 0;
}
}
@@ -32,7 +32,7 @@ double energyPrefactor(const std::string& unit) {
} else if (unit == "J") {
return 1 / SI::e;
} else {
ERROR("I dont know this energy unit.");
ERROR("I dont know this energy unit: " + unit);
return 0;
}
}