Skip to content

Commit

Permalink
Update post_processing/rayleigh_diagnostics.py
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Edelmann <[email protected]>
  • Loading branch information
rpvin and tukss authored Jun 21, 2024
1 parent 08d46da commit 4e8a6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post_processing/rayleigh_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -3271,7 +3271,7 @@ def checkpoint_read(chk_file_string,nr,ntheta):
nell=(2*ntheta)//3
shape = (nell,nell)
i,j = np.indices(shape)
m = np.ceil(i <= j).astype(bool)
m = i <= j
target_all = zeros((nell,nell,nr),dtype="complex")
length_half = len(fromfile(chk_file_string,"f8"))//2
chunk_length = length_half//nr
Expand Down

0 comments on commit 4e8a6f5

Please sign in to comment.