DefaultGaussRAI.compute() reports cryptic IAE for sigma dimension mismatch
- Dominant language
- Java
- Stars
- 94
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Description
As reported in [this zulip chat](https://imagesc.zulipchat.com/#narrow/stream/328100-scyjava/topic/napari-imagej.3A.20MutableOutputWidget/near/296423679), we get a cryptic `IllegalArgumentException` when we call `DefaultGaussRAI.compute()` with a `sigmas` whose length does not match the input dimensionality. We should try our best to mitigate or fix this.
[Here](https://imagesc.zulipchat.com/#narrow/stream/328100-scyjava/topic/napari-imagej.3A.20MutableOutputWidget/near/296425102) are my suggestions for fixes.
But, there is a third option: using `Contingent`! We can't use this when porting the fix to ImageJ Ops2, but it could help avoid the issue in this project.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.