mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
ng_violet: trivial typo fixes
This commit is contained in:
parent
f3ccbf19b8
commit
d119dd95fd
@ -878,7 +878,7 @@ unique_ptr<VertLitInfo> findBestPrefixSplit(const NGHolder &g,
|
|||||||
auto rv = findBestSplit(g, &depths, true, cc.grey.minRoseLiteralLength,
|
auto rv = findBestSplit(g, &depths, true, cc.grey.minRoseLiteralLength,
|
||||||
nullptr, &bad_vertices, cc);
|
nullptr, &bad_vertices, cc);
|
||||||
|
|
||||||
/* large back edges may prevent us identifing anchored or transient cases
|
/* large back edges may prevent us identifying anchored or transient cases
|
||||||
* properly - use a simple walk instead */
|
* properly - use a simple walk instead */
|
||||||
if (!rv || !(rv->creates_transient || rv->creates_anchored)) {
|
if (!rv || !(rv->creates_transient || rv->creates_anchored)) {
|
||||||
auto rv2 = findSimplePrefixSplit(g, cc);
|
auto rv2 = findSimplePrefixSplit(g, cc);
|
||||||
@ -1601,7 +1601,7 @@ void removeRedundantLiteralsFromInfix(const NGHolder &h, RoseInGraph &ig,
|
|||||||
max_allowed_delay);
|
max_allowed_delay);
|
||||||
|
|
||||||
if (delay == MO_INVALID_IDX) {
|
if (delay == MO_INVALID_IDX) {
|
||||||
/* successor literal could not match infix -> ignore flase path */
|
/* successor literal could not match infix -> ignore false path */
|
||||||
assert(0);
|
assert(0);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -1677,7 +1677,9 @@ RoseInVertex getStart(RoseInGraph &vg) {
|
|||||||
return RoseInGraph::null_vertex();
|
return RoseInGraph::null_vertex();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Finds the intial accept vertex created to which suffix/outfixes are attached
|
/**
|
||||||
|
* Finds the initial accept vertex created to which suffix/outfixes are
|
||||||
|
* attached.
|
||||||
*/
|
*/
|
||||||
static
|
static
|
||||||
RoseInVertex getPrimaryAccept(RoseInGraph &vg) {
|
RoseInVertex getPrimaryAccept(RoseInGraph &vg) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user