This PR introduces additional unittests with checks for proper exception raising, interfaces and operators.
As a result, test coverage is increased by a pretty large amount (from 80-something up to 98%), identifying and fixing some previously unknown issues along the way.
Changelog:
Add makefile targets for coverage generation and handling
Add exception to Blocks when non-fastmat instances are passed
Add auto-casting arguments to ndarray if an iterable is given in LowRank, Outer and Polynomial
Add index vector checks to Permutation
Add docstrings to core modules, correct some interface descriptions
Remove support for creating Matrix instances from one-dimensional vectors
Remove obsolete plotResult and paramApplyDefaults functions from benchmark/common
Fix broken matrix[rows, cols indexing for matrix-free operators with no cache present for array
Fix broken internal references in generation largestSingularValue
Fix masking of some tests by the internal caching (amongst others, introducing pickling test instances to check each test query for each variant on a vanilla, cache-free baseline)
Fix masking of largestEigenValue generation by postponing largestEigenVector tests (which would cache the former)
Fix overloading issue for missing div when using cython with python3.x
Fix zero-dimension argument check in Circulant and Diag
Fix indexing issues in striding core
Fix segfaults when exceptions are raised from pure c-code in core (strides, types)
Fix wrong output for deprecated vecC andvecRproperties inToeplitz`
Resolves the following issues:
118
96
71
59
53
I would recommend to immediately deploy a new version 0.2.2, due to the large amount of fixes/improvements.
This PR introduces additional unittests with checks for proper exception raising, interfaces and operators. As a result, test coverage is increased by a pretty large amount (from 80-something up to 98%), identifying and fixing some previously unknown issues along the way.
Changelog:
Blocks
when non-fastmat instances are passedLowRank
,Outer
andPolynomial
Permutation
Matrix
instances from one-dimensional vectorsplotResult
andparamApplyDefaults
functions from benchmark/commonmatrix[rows, cols
indexing for matrix-free operators with no cache present forarray
largestSingularValue
largestEigenValue
generation by postponinglargestEigenVector
tests (which would cache the former)Circulant
andDiag
vecC and
vecRproperties in
Toeplitz`Resolves the following issues:
118
96
71
59
53
I would recommend to immediately deploy a new version 0.2.2, due to the large amount of fixes/improvements.