If either nx or ny are zero then we cannot setup the transforms so detect this and abort with a helpful message

Merged
#557 · Created  · Last updated

Merged pull request

Merged in bugfix/add_helpful_warning_message_if_nonlinear_run_with_no_nx_or_ny (pull request #557)

984dd09·Author: ·Closed by: ·2021-11-22

Description

This avoids hitting a possible seg-fault/divide by zero.

 

We could also try to detect this elsewhere by checking if nonlin is true and box is false, but this is perhaps a helpful second check (e.g. if we wanted to test init_transforms directly).

0 attachments

0 comments

Loading commits...