From 7ff627f4483d1320a57efc64a6e456e6330b13ea Mon Sep 17 00:00:00 2001 From: Dongze Li Date: Fri, 6 Sep 2024 13:15:42 +0800 Subject: [PATCH] update --- analytical_engine/core/fragment/dynamic_fragment.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analytical_engine/core/fragment/dynamic_fragment.h b/analytical_engine/core/fragment/dynamic_fragment.h index 65becac15e49..ab5afc8bd64b 100644 --- a/analytical_engine/core/fragment/dynamic_fragment.h +++ b/analytical_engine/core/fragment/dynamic_fragment.h @@ -428,11 +428,11 @@ class DynamicFragment return res; } - inline size_t GetOutgoingEdgeNum() const override { + inline size_t GetOutgoingEdgeNum() const { return oe_.head_edge_num() + is_selfloops_.count(); } - inline size_t GetIncomingEdgeNum() const override { + inline size_t GetIncomingEdgeNum() const { return ie_.head_edge_num() + is_selfloops_.count(); }