From a184000e2086c0d86d5aef20d715f5e884a63ff3 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Wed, 16 Dec 2015 14:00:08 +0100 Subject: Scale & LinearScale are now template classes. --- historygraph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'historygraph.cpp') diff --git a/historygraph.cpp b/historygraph.cpp index 0f05642..8ed5be4 100644 --- a/historygraph.cpp +++ b/historygraph.cpp @@ -122,8 +122,8 @@ void HistoryGraph::addScatterplot(QSGNode *node, const HistoryGraph::HistoryItem const arma::mat &xy = historyItemNode->item(); int vertexCount = calculateCircleVertexCount(GLYPH_SIZE / 2); - LinearScale sx(xy.col(0).min(), xy.col(0).max(), x, x + w); - LinearScale sy(xy.col(1).min(), xy.col(1).max(), y + h, y); // reverse on purpose + LinearScale sx(xy.col(0).min(), xy.col(0).max(), x, x + w); + LinearScale sy(xy.col(1).min(), xy.col(1).max(), y + h, y); // reverse on purpose for (arma::uword i = 0; i < xy.n_rows; i++) { const arma::rowvec &row = xy.row(i); -- cgit v1.2.3