Skip to content

Commit

Permalink
Fix integer division
Browse files Browse the repository at this point in the history
  • Loading branch information
jvgeiger committed Jul 29, 2020
1 parent ffaa283 commit 5bda731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lis/utils/afwa/dump2lis_nsmax1.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def read_dump_variable(self, section, item, lblev=-1, lbuser5=-1):

def shift_um2lis(self):
data = self.dump_var
col1 = self.ncol/2
col1 = self.ncol//2
col2 = self.ncol
tmp = ma.zeros((self.nrow, self.ncol))
tmp[:, :] = data[:, :]
Expand Down

0 comments on commit 5bda731

Please sign in to comment.