Skip to content
Snippets Groups Projects
Commit 84d5c1d1 authored by William F Godoy's avatar William F Godoy
Browse files

Bug fix for helloBPReaderHeatMap3D.cpp

parent b02af32b
No related branches found
No related tags found
1 merge request!294Bp1read : Initial Reading Capabilities and latest API
......@@ -100,7 +100,7 @@ int main(int argc, char *argv[])
if (inTemperature != nullptr)
{
inTemperature->SetSelection({{2, 2, 2}, {4, 4, 4}});
size_t elementsSize = inTemperature->GetElementsSize();
const size_t elementsSize = inTemperature->GetElementsSize();
std::vector<unsigned int> inTemperatures(elementsSize);
std::cout << "Pre-allocated " << elementsSize << " elements, "
<< elementsSize * sizeof(unsigned int) << " bytes\n";
......
......@@ -271,6 +271,7 @@ void BP3Deserializer::ClipContiguousMemoryCommonRowZero(
}
else
{
currentPoint[p] = start[p];
--p;
}
}
......
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