From 762bbd21609a2a9470e1ac3542d7aa35c3a9574e Mon Sep 17 00:00:00 2001 From: Le Shen <3138827878@qq.com> Date: Wed, 7 Jan 2026 22:09:44 +0800 Subject: [PATCH] Debug --- evogym/simulator/SimulatorCPP/ObjectCreator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evogym/simulator/SimulatorCPP/ObjectCreator.cpp b/evogym/simulator/SimulatorCPP/ObjectCreator.cpp index f93c670b..bd30fcf4 100644 --- a/evogym/simulator/SimulatorCPP/ObjectCreator.cpp +++ b/evogym/simulator/SimulatorCPP/ObjectCreator.cpp @@ -403,7 +403,7 @@ bool ObjectCreator::read_object_from_array(string object_name, Matrix edge_top_index != NULL) - current->edge_bot_index = top->edge_top_index; + current->edge_bot_index = bot->edge_top_index; if (current->edge_bot_index == NULL) { current->edge_bot_index = make_edge(current->point_bot_left_index, current->point_bot_right_index, abs(cell_size.x()), rigid_main_edge_spring_const); }