Skip to content

Commit

Permalink
feat: check user interrupt in proceed_impl
Browse files Browse the repository at this point in the history
  • Loading branch information
paithiov909 committed Nov 18, 2024
1 parent 166e92b commit 615c348
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/skksph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ Rcpp::CharacterVector skksph_proceed_impl(
ret.reserve(qipai.size());

for (std::size_t i = 0; i < qipai.size(); i++) {
Rcpp::checkUserInterrupt();

Shoupai q = Shoupai{qipai[i]};

auto itr_zimo = zimo[i].begin();
Expand Down

0 comments on commit 615c348

Please sign in to comment.