Skip to content

Commit

Permalink
delete sort_list function
Browse files Browse the repository at this point in the history
  • Loading branch information
haidi-ustc committed Sep 9, 2021
1 parent 3f72e1c commit c98f32d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions mech2d/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,6 @@ def create_path (path,back=False) :
os.makedirs (path)
return path

def sortlist(lst1, lst2):
temp = copy.copy(lst1)

lst3 = []
lst4 = []

temp.sort()

for i in range(len(lst1)):
lst3.append(lst1[lst1.index(temp[i])])
lst4.append(lst2[lst1.index(temp[i])])

return lst3, lst4

def prettyprint(c,precision=3):
#c=np.array(c)

Expand Down

0 comments on commit c98f32d

Please sign in to comment.