comments
This commit is contained in:
@@ -16,7 +16,7 @@ enum class DeletionType {
|
||||
class DeletionLogger {
|
||||
public:
|
||||
DeletionLogger(std::vector<DeletionType> used_types);
|
||||
|
||||
// why a coordinate as a parameter -> not used in implementation
|
||||
virtual void logDeletion(const Coordinate& coordinate, DeletionType type);
|
||||
|
||||
std::map<DeletionType, long int> numDeletions() const;
|
||||
|
||||
@@ -28,7 +28,7 @@ species::ImplementedSpecies SpeciesAlias::alias(const std::string& name) {
|
||||
if (isAlias(name)) {
|
||||
return specie_aliases.at(name);
|
||||
} else {
|
||||
ERROR("This specie has no alias." + name);
|
||||
ERROR("This specie has no alias: " + name);
|
||||
return specie_aliases.at(name);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,6 +32,8 @@ int EnergyBinning::bin(double energy_eV) const {
|
||||
return (it - energy_bin_borders_.begin()) - 1;
|
||||
}
|
||||
|
||||
// max index for energy_bin_borders_ (i.e. number of bins that
|
||||
// have both a lower and upper bound)
|
||||
int EnergyBinning::numBins() const {
|
||||
return energy_bin_borders_.size() - 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user