From 4e7ffbca3c87c9b48d2530adcc729af2665aa570 Mon Sep 17 00:00:00 2001 From: Gennady Pospelov <g.pospelov@fz-juelich.de> Date: Wed, 30 Sep 2015 10:58:19 +0200 Subject: [PATCH] Missed include for our picky build server --- Core/Geometry/src/Line.cpp | 1 + Core/Tools/inc/OutputData.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/Geometry/src/Line.cpp b/Core/Geometry/src/Line.cpp index 7a311608d63..718daed86c0 100644 --- a/Core/Geometry/src/Line.cpp +++ b/Core/Geometry/src/Line.cpp @@ -19,6 +19,7 @@ #include <boost/geometry.hpp> #include <boost/geometry/geometries/point_xy.hpp> #include <boost/geometry/geometries/polygon.hpp> +#include <boost/geometry/geometries/linestring.hpp> #include <boost/assign/list_of.hpp> #include <iostream> diff --git a/Core/Tools/inc/OutputData.h b/Core/Tools/inc/OutputData.h index 70d8e2098de..4fc49282c0c 100644 --- a/Core/Tools/inc/OutputData.h +++ b/Core/Tools/inc/OutputData.h @@ -511,7 +511,7 @@ size_t OutputData<T>::toGlobalIndex(const std::vector<int> &axes_indices) const int step_size = 1; for (size_t i=mp_ll_data->getRank(); i>0; --i) { - if(axes_indices[i-1] < 0 || axes_indices[i-1] >=m_value_axes[i-1]->getSize()) { + if(axes_indices[i-1] < 0 || axes_indices[i-1] >= (int)m_value_axes[i-1]->getSize()) { std::ostringstream message; message << "size_t OutputData<T>::toGlobalIndex() -> Error. Index "; message << axes_indices[i-1] << " is out of range. Axis "; -- GitLab