aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lcs
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:39:40 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:57:14 +0300
commite601ca03f859335d57ecff2e5aa6af234b6052ed (patch)
treede519a847e58a1b3993fcbfe05ff44cc946a3e24 /library/cpp/lcs
parentbbf2b6878af3854815a2c0ecb07a687071787639 (diff)
downloadydb-e601ca03f859335d57ecff2e5aa6af234b6052ed.tar.gz
Y_VERIFY->Y_ABORT_UNLESS at ^l
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/lcs')
-rw-r--r--library/cpp/lcs/lcs_via_lis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/lcs/lcs_via_lis.h b/library/cpp/lcs/lcs_via_lis.h
index d26733d94e..fe0ac297fc 100644
--- a/library/cpp/lcs/lcs_via_lis.h
+++ b/library/cpp/lcs/lcs_via_lis.h
@@ -144,7 +144,7 @@ namespace NLCS {
for (auto it = cover.begin() + 1; it != cover.end(); ++it) {
auto pit = UpperBound(it->begin(), it->end(), resbuf.back(), std::greater<ui32>());
- Y_VERIFY(pit != it->end(), " ");
+ Y_ABORT_UNLESS(pit != it->end(), " ");
resbuf.push_back(*pit);
}