summaryrefslogtreecommitdiff
path: root/wasserstein/include/basic_defs_ws.h
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2022-04-29 13:56:44 +0200
committerGard Spreemann <gspr@nonempty.org>2022-04-29 13:56:44 +0200
commit25ecf3d4f7da739ec6a96ae3746498b1ae6e21f3 (patch)
tree4cd624d4380517400b60788ee5dd38b17f50244b /wasserstein/include/basic_defs_ws.h
parente43fec46f5279e5d36d8fd5febc0cd5c357773ee (diff)
parentfb4866e1d827389db17d74e5986d848617c8ef72 (diff)
Merge branch 'dfsg/latest' into debian/sid
Diffstat (limited to 'wasserstein/include/basic_defs_ws.h')
-rw-r--r--wasserstein/include/basic_defs_ws.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wasserstein/include/basic_defs_ws.h b/wasserstein/include/basic_defs_ws.h
index bdcfd75..73c761c 100644
--- a/wasserstein/include/basic_defs_ws.h
+++ b/wasserstein/include/basic_defs_ws.h
@@ -236,7 +236,7 @@ namespace ws
template<class Real>
struct DistImpl<Real, DiagramPoint<Real>>
{
- Real operator()(const DiagramPoint<Real>& a, const DiagramPoint<Real>& b, const Real p, const int dim)
+ Real operator()(const DiagramPoint<Real>& a, const DiagramPoint<Real>& b, const Real p, const int /*dim */)
{
Real result = 0.0;
if ( a.is_diagonal() and b.is_diagonal()) {