forked from UCL/STIR
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hessian: throw error if result would be incorrect
The Hessian calculations use divide_and_truncate, which sets negative numerators to zero. This is incorrect when the forward projection of the "input" is negative. We now check this and throw an error if it occurs. A proper fix will have to be for later. See UCL#1461
- Loading branch information
1 parent
01d5648
commit 7ab7390
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters