Skip to content
Snippets Groups Projects
Commit a7b78aa4 authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Added Xcode project file (with 4 targets) and (temporarily) fixed problem with...

Added Xcode project file (with 4 targets) and (temporarily) fixed problem with dynamic_cast of templates
parent c355285b
No related branches found
No related tags found
No related merge requests found
...@@ -47,8 +47,8 @@ void IsGISAXSTools::drawOutputDataInPad(const OutputData<double>& output, ...@@ -47,8 +47,8 @@ void IsGISAXSTools::drawOutputDataInPad(const OutputData<double>& output,
// creation of 2D histogram from calculated intensities // creation of 2D histogram from calculated intensities
output.resetIndex(); output.resetIndex();
const NamedVector<double> *p_y_axis = dynamic_cast<const NamedVector<double>*>(output.getAxes()[0]); const NamedVector<double> *p_y_axis = reinterpret_cast<const NamedVector<double>*>(output.getAxes()[0]);
const NamedVector<double> *p_z_axis = dynamic_cast<const NamedVector<double>*>(output.getAxes()[1]); const NamedVector<double> *p_z_axis = reinterpret_cast<const NamedVector<double>*>(output.getAxes()[1]);
std::string y_axis_name = p_y_axis->getName(); std::string y_axis_name = p_y_axis->getName();
std::string z_axis_name = p_z_axis->getName(); std::string z_axis_name = p_z_axis->getName();
size_t y_size = p_y_axis->getSize(); size_t y_size = p_y_axis->getSize();
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment