Closed gtauzin closed 4 years ago
To isolate diagonal elements a mask is created. This masks was relying on the diagonal elements being set to nan. However, if the dtype is non float, this creates a bug.
What does this implement/fix? Explain your changes.
To isolate diagonal elements a mask is created. This masks was relying on the diagonal elements being set to nan. However, if the dtype is non float, this creates a bug.