From bfa99283d45d78e47e14d214b722a41dde3ba557 Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Tue, 5 Sep 2023 12:48:45 +0200 Subject: [PATCH] Polish --- Trajectories/trajectories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Trajectories/trajectories.py b/Trajectories/trajectories.py index f5049e86..7b016060 100755 --- a/Trajectories/trajectories.py +++ b/Trajectories/trajectories.py @@ -27,7 +27,7 @@ traj_prop = g.new_vertex_property('int', val = - 1) all_cost = g.get_edges([g.edge_properties.cost_function]) -# Array of indices that sort on cost function: +# Array of indices that sort on cost: ind_cf = np.argsort(all_cost[:, 2]) ind_traj = - 1 # initialize index of trajectory -- GitLab