Skip to content

Commit

Permalink
Remove numpy from read_DISCON
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Jul 10, 2023
1 parent 02fea3e commit 169d82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ROSCO_toolbox/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def read_DISCON(DISCON_filename):
if (line.split()[1] != '!'): # Array valued entries
array_length = line.split().index('!')
param = line.split()[array_length+1]
values = np.array( [float(x) for x in line.split()[:array_length]] )
values = [float(x) for x in line.split()[:array_length]]
DISCON_in[param] = values
else: # All other entries
param = line.split()[2]
Expand Down

0 comments on commit 169d82a

Please sign in to comment.