summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanisław Halik <sthalik@misaki.pl>2016-09-20 17:58:56 +0200
committerGitHub <noreply@github.com>2016-09-20 17:58:56 +0200
commit88649858a6c02bf97c8ae8f1608138de2f1df5f8 (patch)
treeeda4f8aa96513b78a686dadf8ab76ca886ea1d1d
parent144610bcb4fff1421471c2da38555b54a5e2b03c (diff)
typo
-rw-r--r--tracker-pt/point_tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp
index 96a75ea8..4c7ca4be 100644
--- a/tracker-pt/point_tracker.cpp
+++ b/tracker-pt/point_tracker.cpp
@@ -72,7 +72,7 @@ void PointModel::set_model(settings_pt& s)
}
}
-void PointModel::get_d_order(const std::vector<vec2>& points, int* d_order, vec2 d) const
+void PointModel::get_d_order(const std::vector<vec2>& points, int* d_order, const vec2& d) const
{
// fit line to orthographically projected points
std::vector<std::pair<f,int>> d_vals;