From 5835450415d3f7a032f4507a0aba351cd7fab15a Mon Sep 17 00:00:00 2001 From: David A Minton Date: Thu, 19 Aug 2021 14:09:51 -0400 Subject: [PATCH] Fixed typo that was prevening the central body id to be matched in an old particle.dat file --- src/symba/symba_io.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/symba/symba_io.f90 b/src/symba/symba_io.f90 index 06472aae9..1c0981232 100644 --- a/src/symba/symba_io.f90 +++ b/src/symba/symba_io.f90 @@ -278,7 +278,7 @@ module subroutine symba_io_read_particle(system, param) lmatch = .false. read(LUN, err = 667, iomsg = errmsg, end = 333) id - if (idx == cb%id) then + if (id == cb%id) then read(LUN, err = 667, iomsg = errmsg) cb%info lmatch = .true. else