From 3dcd5fec2fe8f89b95696834746a8ff0a9dab292 Mon Sep 17 00:00:00 2001 From: ThomasHelfer Date: Wed, 14 Feb 2024 19:19:02 -0500 Subject: [PATCH] fixed minor bug in read-in --- GeneralRelativity/Utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/GeneralRelativity/Utils.py b/GeneralRelativity/Utils.py index 996c054..f5a8616 100644 --- a/GeneralRelativity/Utils.py +++ b/GeneralRelativity/Utils.py @@ -196,7 +196,6 @@ def get_box_format(filenames, num_variables, boxsize=16): """ tmp = get_many_binary_files(filenames, num_variables) tmp = torch.tensor(tmp) - boxsize = 16 sizevector = tmp.shape[-1] numberfiles = tmp.shape[0] # Reshape the tensor to the specified box size