update for PIP3

This commit is contained in:
Бычков Андрей
2022-07-29 16:50:38 +03:00
parent 4d9029babe
commit 7a16d76753
6 changed files with 6 additions and 8 deletions

View File

@@ -68,7 +68,7 @@ void GDockWidget::addX(const CDType & t) {
void GDockWidget::drawX(const PIMap<PIString, PIVector<double> > & data) {
for (int i = 0; i < x_list.size_s(); ++i) {
PIString sp = CDCore::pathToString(x_list[i]);
const PIVector<double> & ch(data[sp]);
PIVector<double> ch(data.at(sp));
for (int j = 0; j < ch.size_s(); ++j)
graphic->graphic()->addPoint(ch[j], i, false);
}