Skip to content
Snippets Groups Projects
Commit 18058089 authored by Wuttke, Joachim's avatar Wuttke, Joachim Committed by Wuttke, Joachim
Browse files

in resampling, sassert that there are slices

parent 106d5705
No related branches found
No related tags found
1 merge request!2052simplify SampleValidator (class -> namespace)
......@@ -305,6 +305,7 @@ OwningVector<const ReLayout> collectLayouts(const MultiLayer& sample, const Slic
{
OwningVector<const ReLayout> result;
ASSERT(!slices.empty());
double z_ref = -slices.front().low();
for (size_t i = 0; i < sample.numberOfLayers(); ++i) {
......
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