Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
bobcheng15 committed Jul 11, 2024
1 parent e381f7a commit da04fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sam/onyx/generate_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ def create_matrix_from_point_list(name, pt_list, shape, use_fp=False, base=16) -
tmp_x = bin(int(x))[2:].zfill(16)
mat_base[idx] = bfbin2float(tmp_x)
else:
assert(base == 10)
assert base == 10
for idx, x in numpy.ndenumerate(mat_base):
mat_base[idx] = bfbin2float(float2bfbin(mat_base[idx]))
else:
Expand Down

0 comments on commit da04fa3

Please sign in to comment.