Commit 671fa4b4 authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

use nanmax instead of max

parent 741b70f9
......@@ -73,7 +73,7 @@ def scan(
tshift_maxs = []
for ifc in ifcs:
shift_tables.append(ifc.shifter.get_table(grid, receivers))
tshift_maxs.append(shift_tables[-1].max())
tshift_maxs.append(num.nanmax(shift_tables[-1]))
tshift_max = max(tshift_maxs) * 1.0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment