usage of isposdef
leads to cryptic error when taking gradients
#1240
Labels
needs adjoint
missing rule
isposdef
leads to cryptic error when taking gradients
#1240
Not shure if this belongs here or to ChainRules, but taking the gradient of functions that use
isposdef
fails withERROR: MethodError: no method matching iterate(::Nothing)
. See this MWE:The problem seems to be calling
isposdef
andHermitian
, as this fails too:But interestingly enough, this works just fine:
Version info:
Package versions:
The text was updated successfully, but these errors were encountered: