Mentions légales du service

Skip to content
Snippets Groups Projects

Need to instantiate before use, right?

Merged PATTE Cecile requested to merge cpatte/dolfin_dic:master into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -61,8 +61,8 @@ public:
reader->SetFileName(filename);
reader->Update();
image = reader->GetOutput();
// image = vtkSmartPointer<vtkImageData>::New(); // MG20180913: another way to instantiate object
image = reader->GetOutput();
static_scaling = getStaticScalingFactor(image->GetScalarTypeAsString());
Loading