Skip to content

Commit

Permalink
Fix empty matrices not being saved
Browse files Browse the repository at this point in the history
Introduced in 7c2beb6
  • Loading branch information
Jake-Moss committed Sep 8, 2023
1 parent 0cd3d48 commit f8d02f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aequilibrae/matrix/aequilibrae_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def create_from_trip_list(self, path_to_file: str, from_column: str, to_column:

new_mat = AequilibraeMatrix()
nb_of_zones = len(zones_list)
new_mat.create_empty(file_name=path_to_file[:-4] + ".aem", zones=nb_of_zones, matrix_names=list_cores)
new_mat.create_empty(file_name=path_to_file[:-4] + ".aem", zones=nb_of_zones, matrix_names=list_cores, memory_only=False)

for idx, core in enumerate(list_cores):
m = (
Expand Down

0 comments on commit f8d02f3

Please sign in to comment.