From 4057cd7b5af10c776e1c8476f43db67722f65ad9 Mon Sep 17 00:00:00 2001 From: Jake Moss Date: Fri, 2 Feb 2024 11:15:04 +1000 Subject: [PATCH] Fix typo, used wrong matrix (#503) --- aequilibrae/paths/linear_approximation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aequilibrae/paths/linear_approximation.py b/aequilibrae/paths/linear_approximation.py index c1cb86c29..8833e4cbd 100644 --- a/aequilibrae/paths/linear_approximation.py +++ b/aequilibrae/paths/linear_approximation.py @@ -377,7 +377,7 @@ def __calculate_step_direction(self): sl_step_dir_ll["sdr"], np.sum(aux_res.temp_sl_link_loading, axis=0)[idx, :, :], sl_step_dir_ll["sdr"], - sl_step_dir_ll["temp_prev_sdr"], + sl_step_dir_ll["prev_sdr"], self.betas, self.cores, )