We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de5263e commit 968e244Copy full SHA for 968e244
1 file changed
src/BeamAdapter/component/controller/InterventionalRadiologyController.inl
@@ -213,8 +213,11 @@ void InterventionalRadiologyController<DataTypes>::init()
213
// it should always start with zero (origin)
214
m_nodeCurvAbs.push_back(0.0);
215
const auto& xTips = d_xTip.getValue();
216
- for(const auto xTip : xTips | std::views::reverse)
+
217
+ //for(const auto xTip : xTips | std::views::reverse)
218
+ for(std::size_t i = xTips.size() ; i > 0 ; i--)
219
{
220
+ const auto xTip = xTips[i-1];
221
if(xTip > 0.0)
222
223
m_nodeCurvAbs.push_back(xTip);
0 commit comments