Skip to content

Commit

Permalink
fix CLAF wirte check
Browse files Browse the repository at this point in the history
  • Loading branch information
joanibal authored May 9, 2024
1 parent 520e436 commit 9ab971d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyavl/pyAVL.py
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ def __write_data(key_list, newline: bool = True):
fid.write(" AFILE\n")
fid.write(f" {afile}\n")
# output claf and clcd if not default
if data["claf"][idx_sec]!= 0.0:
if data["claf"][idx_sec]!= 1.0:
fid.write(" CLAF\n")
fid.write(f" {data['claf'][idx_sec]}\n")

Expand Down

0 comments on commit 9ab971d

Please sign in to comment.