Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/clock_tree_extractor/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
option(PL_CLOCK_TREE_EXTRACTOR "PL_CLOCK_TREE_EXTRACTOR" ON)
option(PL_CLOCK_TREE_EXTRACTOR "PL_CLOCK_TREE_EXTRACTOR" OFF)

if(PL_CLOCK_TREE_EXTRACTOR OR BUILD_ALL_PLUGINS)

Expand Down
4 changes: 2 additions & 2 deletions plugins/clock_tree_extractor/src/clock_tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -652,14 +652,14 @@ namespace hal
for( igraph_integer_t idx = 0; idx < igraph_vector_int_size( &map ); idx++ )
{
const igraph_integer_t vertex = VECTOR( map )[idx];
if( vertex == 0 )
if( vertex == -1 )
{
continue;
}

const void *ptr = m_vertices_to_ptrs.at( idx );

vertices_to_ptrs[vertex - 1] = ptr;
vertices_to_ptrs[vertex] = ptr;
ptrs_to_types[ptr] = m_ptrs_to_types.at( ptr );
}

Expand Down
Loading