TomographicImaging/CCPi-Regularisation-Toolkit

FGP_dTV cpu nonneg enforcement not working

mhquah opened this issue · 4 comments

When using FGP_dTV with pdhg, we have been trying to enforce non negative values but are still getting them. The issue does not seem to occur with FGP_TV. The PC we are testing on does not have gpu capability, so we have only been able to test cpu.

@ashgillman @paskino @epapoutsellis

happy to submit a mwe if required

It is very strange since the constraints are here for 2D and here for 3D. Could you share some code to test?

Oh my, terribly sorry @epapoutsellis , but I think the cause of this error is entirely our fault. It appears that we have made an embarrassingly simple mistake - we assumed the argument order was the same between FGP_TV and FGP_dTV. We can chat about it further on the meeting tonight (or in the morning).