Skip to content
Snippets Groups Projects
Commit 405dcda5 authored by Matthias Puchner's avatar Matthias Puchner
Browse files

minor refactoring

parent cd47b6b1
No related branches found
No related tags found
1 merge request!65Refactor Distribution Handling
......@@ -77,7 +77,7 @@ std::vector<double> IDistribution1D::equidistantPointsInRange(size_t nbr_samples
void IDistribution1D::setUnits(const std::string& units)
{
for (auto* par : registeredParameters())
for (auto* par : m_params)
par->setUnit(units);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment