From 2adefd5203cc36ef9748cb0f3b45f7a5be6dc7d8 Mon Sep 17 00:00:00 2001 From: schroedtert Date: Wed, 26 Jul 2023 08:15:48 +0200 Subject: [PATCH] Use correct ToDo handle --- libsimulator/src/GCFMModel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libsimulator/src/GCFMModel.cpp b/libsimulator/src/GCFMModel.cpp index 636344a880..7568d71513 100644 --- a/libsimulator/src/GCFMModel.cpp +++ b/libsimulator/src/GCFMModel.cpp @@ -47,7 +47,8 @@ PedestrianUpdate GCFMModel::ComputeNewPosition( const auto p1 = agent.pos; Point F_rep; for(const auto& neighbor : neighborhood) { - // TODO: Only use neighbors who have an unobstructed line of sight to the current agent (TS) + // TODO(schroedtert): Only use neighbors who have an unobstructed line of sight to the + // current agent if(neighbor.id == agent.id) { continue; }