From 7ac2ddff077a50db4eb6e4cbe5de773bece13196 Mon Sep 17 00:00:00 2001 From: Arnaud Becheler <8360330+Becheler@users.noreply.github.com> Date: Mon, 8 Jun 2026 08:29:44 +0200 Subject: [PATCH] fix wrong return type in accessor --- include/boost/graph/detail/sparse_ordering.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/graph/detail/sparse_ordering.hpp b/include/boost/graph/detail/sparse_ordering.hpp index b7bf470db..7d99f46fc 100644 --- a/include/boost/graph/detail/sparse_ordering.hpp +++ b/include/boost/graph/detail/sparse_ordering.hpp @@ -98,7 +98,7 @@ namespace sparse inline size_type size() const { return base::size(); } - inline size_type eccentricity() const { return eccen; } + inline int eccentricity() const { return eccen; } inline value_type spouse() const { return w; } protected: