Skip to content

Commit

Permalink
fix bug in python extract_transp_plasma
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Stagner committed Sep 12, 2018
1 parent 0b2f3a2 commit f450a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/fidasim/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ def extract_transp_plasma(filename, intime, grid, flux,

max_flux = max(abs(rho))

mask = np.zeros(s,dtype='int')
mask = np.zeros(dims,dtype='int')
w = np.where(flux <= max_flux) #where we have profiles
mask[w] = 1

Expand Down

0 comments on commit f450a56

Please sign in to comment.