armawrap merge requestshttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests2021-09-23T09:40:29+01:00https://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/26Rf/namespace std2021-09-23T09:40:29+01:00Paul McCarthyRf/namespace stdhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/25Test/pyfeeds2021-06-08T16:27:55+01:00Paul McCarthyTest/pyfeedsAdd a `feedsRun` script so tests can be executed by `pyfeeds`Add a `feedsRun` script so tests can be executed by `pyfeeds`https://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/23Bf/subview2020-12-22T14:32:48+00:00Paul McCarthyBf/subviewThis MR fixes a bug which arose when I tried to compile code against a C++ standard newer than `-std=c++98` (a.k.a. `-ansi`) - for an `unsigned int diag`, the expression `-diag` would wrap around.
A couple of other tests have been fixe...This MR fixes a bug which arose when I tried to compile code against a C++ standard newer than `-std=c++98` (a.k.a. `-ansi`) - for an `unsigned int diag`, the expression `-diag` would wrap around.
A couple of other tests have been fixed, and the CI infrastructure has been expanded to run tests against different C++ standards, and also to run with and without optimisation.Paul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/22Rf/svd error2020-12-17T13:41:53+00:00Paul McCarthyRf/svd errorIssue #1 highlighted the fact that, while the `armawrap` implementation of `NEWMAT::SVD` does crash when given a matrix with less rows than columms (which preserves compatibility with the behaviour of the original `NEWMAT::SVD` function)...Issue #1 highlighted the fact that, while the `armawrap` implementation of `NEWMAT::SVD` does crash when given a matrix with less rows than columms (which preserves compatibility with the behaviour of the original `NEWMAT::SVD` function), it crashes in a different, unintentional manner.
This patch adds an explicit check, to make the crash and error message more interpretable.
It also turns out that the `arma::svd` and `arma::svd_econ` functions behave slightly differently, in that `arma::svd` returns `U` as a square matrix of shape `(X.n_rows, X.n_rows)`, whereas `arma::svd_econ` truncates `U` to have the same shape as the input matrix `X` (which is the desired behaviour, as this is what the original `NEWMAT::SVD` function did).
So this MR also removes the explicit truncation of the matrix `U`, which was only necessary when `arma::svd` was being used.Paul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/20ci/integrate-fsl-ci-rules-configure-repositories2020-11-24T19:26:04+00:00Paul McCarthyci/integrate-fsl-ci-rules-configure-repositoriesThis merge request was triggered by an invocation of the
fsl/fsl-ci-rules/ci_utils/configure_repositories.py script.
It integrates the common FSL CI rules from the fsl/fsl-ci-rules
repository into the CI pipeline of this project ({proje...This merge request was triggered by an invocation of the
fsl/fsl-ci-rules/ci_utils/configure_repositories.py script.
It integrates the common FSL CI rules from the fsl/fsl-ci-rules
repository into the CI pipeline of this project ({project_path}).
Unfortunately it is difficult to preserve the formatting of a
YAML file when programmatically modifying it, so apologies if
the modified version has messed up your formatting.Paul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/19Condafy2021-06-08T12:58:35+01:00Paul McCarthyCondafyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/18Rf/remove debug2019-09-26T13:42:40+01:00Paul McCarthyRf/remove debugPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/17DOC: changelog2019-09-18T17:47:13+01:00Paul McCarthyDOC: changelogPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/16Mnt/update arma2019-09-18T17:26:04+01:00Paul McCarthyMnt/update armaPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/15Mnt/update arma2019-09-18T17:20:10+01:00Paul McCarthyMnt/update armaPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/14Rf/stdout support2019-02-13T11:14:31+00:00Paul McCarthyRf/stdout supportPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/13Rf/remove exceptions2019-01-14T13:18:32+00:00Paul McCarthyRf/remove exceptionsPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/12Test/chol2019-01-11T12:18:13+00:00Paul McCarthyTest/cholPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/11Bf/chol lower2019-01-11T11:27:53+00:00Paul McCarthyBf/chol lowerPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/10Master2018-11-19T10:58:50+00:00Paul McCarthyMasterPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/9Rf/arma align2018-11-19T10:56:11+00:00Paul McCarthyRf/arma alignPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/8Master2018-10-15T09:30:54+01:00Paul McCarthyMasterPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/7Rf/insertion2018-10-15T09:29:27+01:00Paul McCarthyRf/insertionPaul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/60.2.02018-10-04T22:07:47+01:00Paul McCarthy0.2.0Paul McCarthyPaul McCarthyhttps://git.fmrib.ox.ac.uk/fsl/armawrap/-/merge_requests/5Ci/fix gitlab ci2018-10-04T22:02:02+01:00Paul McCarthyCi/fix gitlab ciPaul McCarthyPaul McCarthy