MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / assertValid

Function assertValid

extensions/include/cuMat/src/SparseMatrixBase.h:53–60  ·  view source on GitHub ↗

* \brief Checks with assertions that this SparsityPattern is valid. */

Source from the content-addressed store, hash-verified

51 * \brief Checks with assertions that this SparsityPattern is valid.
52 */
53 void assertValid() const
54 {
55 CUMAT_ASSERT_DIMENSION(JA.size() == cols + 1);
56 CUMAT_ASSERT_DIMENSION(rows > 0);
57 CUMAT_ASSERT_DIMENSION(cols > 0);
58 CUMAT_ASSERT_DIMENSION(cols > 0);
59 CUMAT_ASSERT_DIMENSION(IA.size() == nnz);
60 }
61 /**
62 * \return the number of non-zero entries
63 */

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected