precice/micro-manager

Invalid value in division warning in adaptivity functionality

IshaanDesai opened this issue · 0 comments

For some cases, the following warning is observed from the file micro_manager/adaptivity/adaptivity.py:

RuntimeWarning: invalid value encountered in true_divide
  relative = np.nan_to_num((pointwise_diff / np.maximum(data[np.newaxis, :], data[:, np.newaxis])))

This needs to be investigated.