Hi, I ran into a runtime error while calling setSamples function from my app.
Its like this -

Qt Code:
  1. m_scatter.curves[0].setSamples(&m_scatter.vx[0],&m_scatter.vy[0][0],NumIndicatorsFound);
To copy to clipboard, switch view to plain text mode 

where m_scatter is like this -

Qt Code:
  1. PlotInfo m_scatter; //private variable
To copy to clipboard, switch view to plain text mode 

And PlotInfo is defined as -

Qt Code:
  1. struct PlotInfo {
  2. QwtPlot plot;
  3. QwtPlotCurve curves[4];
  4. QwtPlotMarker highlightMarker[4];
  5. std::vector<double> vx;
  6. std::vector<double> vy[4];
  7. std::vector<int> mIndexToEllipse;
  8. };
To copy to clipboard, switch view to plain text mode 

The runtime error is pointing to line 1508 in <vector>. BTW my platform is Qt 5.15, Kit is MSVC2019, Qwt lib v6.2.

Any help is appreciated.