mirror of
https://github.com/rmontanana/mdlp.git
synced 2025-08-16 16:05:57 +00:00
Remove exception of valuecutpoint it's not needed
This commit is contained in:
@@ -37,8 +37,6 @@ namespace mdlp {
|
|||||||
size_t idxNext = cut + 1 < end ? cut + 1 : cut;
|
size_t idxNext = cut + 1 < end ? cut + 1 : cut;
|
||||||
bool backWall; // true if duplicates reach begining of the interval
|
bool backWall; // true if duplicates reach begining of the interval
|
||||||
precision_t previous, actual, next;
|
precision_t previous, actual, next;
|
||||||
if (cut - 1 < start || cut + 1 >= end)
|
|
||||||
throw logic_error("Invalid cutpoint index");
|
|
||||||
previous = X[indices[idxPrev]];
|
previous = X[indices[idxPrev]];
|
||||||
actual = X[indices[cut]];
|
actual = X[indices[cut]];
|
||||||
next = X[indices[idxNext]];
|
next = X[indices[idxNext]];
|
||||||
|
Reference in New Issue
Block a user