Minor changes in debug output, added information
to error messages
This commit is contained in:
@@ -85,7 +85,7 @@ EnergyBinning buildEnergyBinning(json_t* object) {
|
||||
ASSERT_POSITIVE(&min_energy, "Min Energy must be positive");
|
||||
double max_energy =
|
||||
json_read_energy(json_object_by_path(object, {"MaxEnergy"}), "eV");
|
||||
ASSERT_POSITIVE(&max_energy, "Min Energy must be positive");
|
||||
ASSERT_POSITIVE(&max_energy, "Max Energy must be positive");
|
||||
|
||||
DEBUG_LEVEL_3("with number of bins: " + std::to_string(number_of_bins));
|
||||
DEBUG_LEVEL_3("with min energy: " + std::to_string(min_energy));
|
||||
|
||||
Reference in New Issue
Block a user