Skip to content

Commit 85c5ba2

Browse files
fix test_setup_noc.cpp compilation error
1 parent 2aac478 commit 85c5ba2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/test/test_setup_noc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ TEST_CASE("test_create_noc_links", "[vpr_setup_noc]") {
689689

690690
router_connection = noc_info.router_list[router_id - 1].connection_list.begin();
691691

692-
for (auto noc_link = noc_model.get_noc_router_outgoing_links(current_source_router_id).begin(); noc_link != noc_model.get_noc_router_connections(current_source_router_id).end(); noc_link++) {
692+
for (auto noc_link = noc_model.get_noc_router_outgoing_links(current_source_router_id).begin(); noc_link != noc_model.get_noc_router_outgoing_links(current_source_router_id).end(); noc_link++) {
693693
// get the connecting link
694694
const NocLink& connecting_link = noc_model.get_single_noc_link(*noc_link);
695695

@@ -711,7 +711,7 @@ TEST_CASE("test_setup_noc", "[vpr_setup_noc]") {
711711
t_noc_inf noc_info;
712712

713713
// pointer to each logical router
714-
t_router* temp_router = NULL;
714+
t_router* temp_router = nullptr;
715715

716716
// start by creating all the logical routers
717717
// this is similiar to the user provided a config file

0 commit comments

Comments
 (0)