disable assert
this triggers while running a thermal deck (SPE1CASE2_THERMAL), but there is no apparent reason why it is an error.
This commit is contained in:
parent
370923a186
commit
8909d471e8
@ -129,16 +129,17 @@ public:
|
|||||||
bool sortInputs = true)
|
bool sortInputs = true)
|
||||||
{
|
{
|
||||||
assert(x.size() == y.size());
|
assert(x.size() == y.size());
|
||||||
assert(x.size() > 1);
|
|
||||||
|
|
||||||
resizeArrays_(x.size());
|
resizeArrays_(x.size());
|
||||||
std::copy(x.begin(), x.end(), xValues_.begin());
|
if (x.size() > 0) {
|
||||||
std::copy(y.begin(), y.end(), yValues_.begin());
|
std::copy(x.begin(), x.end(), xValues_.begin());
|
||||||
|
std::copy(y.begin(), y.end(), yValues_.begin());
|
||||||
|
|
||||||
if (sortInputs)
|
if (sortInputs)
|
||||||
sortInput_();
|
sortInput_();
|
||||||
else if (xValues_[0] > xValues_[numSamples() - 1])
|
else if (xValues_[0] > xValues_[numSamples() - 1])
|
||||||
reverseSamplingPoints_();
|
reverseSamplingPoints_();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
Reference in New Issue
Block a user