geoneric/fern

For 0d arguments, the algorithms must call is_no_data() instead of is_no_data(i)

Closed this issue · 1 comments

Make sure this check is outside the iteration. In case of no_data, mark_as_no_data can be called on the result, for all result cells. In case of no no_data, the test for no-data-ness can be skipped in the inner iteration.

Check:

  • ./algorithm/core/detail/cover.h
  • ./algorithm/core/binary_local_operation.h
  • ./algorithm/core/detail/clamp.h
  • ./algorithm/core/detail/if.h

Create tickets for each of these.