Skip to content

Commit

Permalink
Shift np.int to int
Browse files Browse the repository at this point in the history
  • Loading branch information
mgt16-LANL committed Aug 8, 2023
1 parent 0ffdedb commit a93d9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion architector/io_symmetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def map_repeat_to_highdent(sel_con_list,nlig,denticity):
all_combos = [x for x in itertools.combinations(sel_con_list,nlig)]
highdents = np.array(all_combos)
out = highdents.flatten()
out = out.reshape(np.int(out.shape[0]/(nlig*denticity)),
out = out.reshape(int(out.shape[0]/(nlig*denticity)),
nlig*denticity)
highdents = highdents.tolist()
reshape_out = []
Expand Down

0 comments on commit a93d9b2

Please sign in to comment.