Skip to content

Commit

Permalink
pySTEL: bugfix in THRIFT class
Browse files Browse the repository at this point in the history
  • Loading branch information
ajchcoelho committed Jan 9, 2025
1 parent ea42847 commit 916a309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pySTEL/libstell/thrift.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def get_vars(self,var,time=0.0):

plot_var = getattr(self,var)

time = np.array(time)
time = np.atleast_1d(time)

idx = [np.argmin(np.abs(self.THRIFT_T-t)) for t in time]
#idx = np.argmin(np.abs(self.THRIFT_T-time))
Expand Down

0 comments on commit 916a309

Please sign in to comment.