From 030eae3befe637881aea341a806efd244bd6c978 Mon Sep 17 00:00:00 2001 From: Hans Dembinski Date: Sat, 7 May 2016 10:26:58 -0400 Subject: [PATCH] fix warning --- src/python/axis.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/python/axis.cpp b/src/python/axis.cpp index 30647a70..18edf36c 100644 --- a/src/python/axis.cpp +++ b/src/python/axis.cpp @@ -85,19 +85,19 @@ category_axis_init(python::tuple args, python::dict kwargs) { } template -unsigned +int axis_len(const T& t) { return t.bins() + 1; } template <> -unsigned +int axis_len(const category_axis& t) { return t.bins(); } template <> -unsigned +int axis_len(const integer_axis& t) { return t.bins(); }