Commit 2c3b0a40 authored by Philipp  Trunschke's avatar Philipp Trunschke

bugfix in uq_ra_adf (fixes #256)

parent af576dfe
Pipeline #1439 passed with stages
in 18 minutes
......@@ -645,7 +645,7 @@ namespace xerus { namespace uq { namespace impl_uqRaAdf {
REQUIRE(_x.dimensions.front() == _measurments.solutions.front().size, "Inconsitent spacial dimension");
for(size_t i=0; i < _measurments.parameterVectors.size(); ++i) {
REQUIRE(_x.order() <= _measurments.parameterVectors[i].size(), "Parameter vector for sample " << i << " to short: " << _measurments.parameterVectors[i]);
REQUIRE(_x.order() <= _measurments.parameterVectors[i].size()+1, "Parameter vector for sample " << i << " to short: " << _measurments.parameterVectors[i]);
for(size_t j=0; j < _measurments.parameterVectors[i].size(); ++j) {
if(_measurments.parameterVectors[i][j] > 1 || _measurments.parameterVectors[i][j] < -1) {
std::cout << "i=" << i << ", sample=" << _measurments.parameterVectors[i] << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment