The rhs is a NoLogAbsDetJacobian{typeof(finv), Float64}, which the lhs tries to deconstruct as a pair.
It would be better to assign this a temporary variable first, so we could add a line that gives an informative error if it's not a pair. After that we could deconstruct it safely.
This doesn't work:
The problem is a line that reads
The rhs is a
NoLogAbsDetJacobian{typeof(finv), Float64}
, which the lhs tries to deconstruct as a pair.It would be better to assign this a temporary variable first, so we could add a line that gives an informative error if it's not a pair. After that we could deconstruct it safely.