From 9f1da604a5dff2f894bf1aa6befc1a95dccd9c6b Mon Sep 17 00:00:00 2001 From: Jeffrey Reep Date: Tue, 21 May 2024 10:06:16 -1000 Subject: [PATCH] change - to + --- pydrad/parse/parse.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pydrad/parse/parse.py b/pydrad/parse/parse.py index 24ac1b4..3ee8ec1 100644 --- a/pydrad/parse/parse.py +++ b/pydrad/parse/parse.py @@ -410,11 +410,11 @@ def _read_trm(self): for j in range(n_mass): self._trm_data[i,j] = mass_terms[mass_columns[j]][i] for j in range(n_momentum): - self._trm_data[i,j-offsets[0]] = momentum_terms[momentum_columns[j]][i] + self._trm_data[i,j+offsets[0]] = momentum_terms[momentum_columns[j]][i] for j in range(n_electron): - self._trm_data[i,j-offsets[1]] = electron_terms[electron_columns[j]][i] + self._trm_data[i,j+offsets[1]] = electron_terms[electron_columns[j]][i] for j in range(n_hydrogen): - self._trm_data[i,j-offsets[2]] = hydrogen_terms[hydrogen_columns[j]][i] + self._trm_data[i,j+offsets[2]] = hydrogen_terms[hydrogen_columns[j]][i] properties = [] for i in range(n_mass):