From af6712c3c1ff7f48e00c9e3995704cc9bad34722 Mon Sep 17 00:00:00 2001 From: Howard Soh Date: Sat, 15 Apr 2023 09:02:34 -0600 Subject: [PATCH] #2474 Assign FO_Node instead of calling memcpy --- src/tools/other/mode_time_domain/fo_graph.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tools/other/mode_time_domain/fo_graph.cc b/src/tools/other/mode_time_domain/fo_graph.cc index bac9eed6fc..1890ff01d6 100644 --- a/src/tools/other/mode_time_domain/fo_graph.cc +++ b/src/tools/other/mode_time_domain/fo_graph.cc @@ -141,7 +141,9 @@ N_nodes = N*N; TheGraph = new FO_Node [N_nodes]; -memcpy(TheGraph, g.TheGraph, N_nodes*sizeof(FO_Node)); +for (int idx=0; idx