- ezplotProj.ezset ("box");
- ezplotProj.ezset ("grid");
- ezplotProj.addCurve (m_adPlotXAxis, adFilteredProj, m_nFilteredProjections);
+ ezplotProj.ezset ("box.");
+ ezplotProj.ezset ("grid.");
+#if 0 // workaround c++ optimizer bug, now disabled by using /O1 in code
+ double* pdDetval = new double [m_rProj.nDet()];
+ for (unsigned int id = 0; id < m_rProj.nDet(); id++) {
+ pdDetval[id] = detval[id];
+ }
+ ezplotProj.addCurve (m_adPlotXAxis, pdDetval, m_rProj.nDet());
+ delete pdDetval;
+#else
+ ezplotProj.addCurve (m_adPlotXAxis, detval, m_rProj.nDet());
+#endif