summaryrefslogtreecommitdiff
path: root/wasserstein/include/basic_defs_ws.h
diff options
context:
space:
mode:
authorArnur Nigmetov <anigmetov@lbl.gov>2022-04-09 17:33:15 -0700
committerArnur Nigmetov <anigmetov@lbl.gov>2022-04-09 17:33:15 -0700
commit8fbae1d789b3c9d7e9b079284c85489d8dcd7e65 (patch)
treec884ea100a702c7a6cb1cef083168ed59d7e0f31 /wasserstein/include/basic_defs_ws.h
parente62d16d7b1c42163de7b21ab74a780c3c1cf8e45 (diff)
Major cleanupupstream/latest
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()) {