From 61efaef045824518c9f222779322cd918b53f89e Mon Sep 17 00:00:00 2001 From: zhengchao Date: Thu, 2 Jul 2020 18:37:51 +0800 Subject: [PATCH] =?UTF-8?q?Maat=5Fhierarchy=E5=9C=A8=E5=88=A0=E9=99=A4grou?= =?UTF-8?q?p=E6=97=B6=EF=BC=8C=E4=B8=8D=E5=90=8C=E6=97=B6=E5=88=A0?= =?UTF-8?q?=E9=99=A4igraph=E4=B8=AD=E7=9A=84vertex=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8Dvertex=20id=E5=8F=91=E7=94=9F=E5=8F=98=E5=8C=96?= =?UTF-8?q?=EF=BC=8C=E5=AF=BC=E8=87=B4=E6=AE=B5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/Maat_hierarchy.cpp | 3 ++- src/entry/Maat_rule.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/entry/Maat_hierarchy.cpp b/src/entry/Maat_hierarchy.cpp index 6f7b960..3bd14b0 100644 --- a/src/entry/Maat_hierarchy.cpp +++ b/src/entry/Maat_hierarchy.cpp @@ -474,7 +474,8 @@ static void Maat_hierarchy_group_free(struct Maat_hierarchy* hier, struct Maat_h } igraph_vector_destroy(&v); assert(group->top_group_ids==NULL); - igraph_delete_vertices(&hier->group_graph, igraph_vss_1(group->vertex_id)); + //We should not call igraph_delete_vertices, because this is function changes the ids of the vertices. + //igraph_delete_vertices(&hier->group_graph, igraph_vss_1(group->vertex_id)); HASH_DELETE(hh_group_id, hier->hash_group_by_id, group); diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index 858c662..75a1bfa 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -34,7 +34,7 @@ #include "stream_fuzzy_hash.h" #include "gram_index_engine.h" -int MAAT_FRAME_VERSION_3_0_20200619=1; +int MAAT_FRAME_VERSION_3_0_20200702=1; int is_valid_table_name(const char* str) {