Remove check for current position, it should be handled earlier
I.E. empty sentence shouldn't be passed anyway and that is what Operator class is checking for. But otherwise, at the level of operator, it can deal with a sentence that has current pos outside of boundaries.
Showing
- libwccl/ops/functions/strset/getlemmas.cpp 1 addition, 1 deletionlibwccl/ops/functions/strset/getlemmas.cpp
- libwccl/ops/functions/strset/getorth.cpp 1 addition, 1 deletionlibwccl/ops/functions/strset/getorth.cpp
- libwccl/ops/functions/tset/getsymbols.cpp 1 addition, 1 deletionlibwccl/ops/functions/tset/getsymbols.cpp
- tests/getlemmas.cpp 4 additions, 2 deletionstests/getlemmas.cpp
- tests/getorth.cpp 4 additions, 2 deletionstests/getorth.cpp
Please register or sign in to comment