Skip to content

Commit

Permalink
update src cpp code
Browse files Browse the repository at this point in the history
  • Loading branch information
SpatLyu committed Jul 16, 2024
1 parent 1d9a0e3 commit 9bbcc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/roughset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ List SRS_MULTIPD(IntegerVector yobs,
for (int n = 0; n < wti.size(); ++n){
IntegerVector vec1 = xobs(wti[n],_);
IntegerMatrix mat1 = slice_matrix_rows(xobs,wti[wti!=wti[n]]);
if (AnyRowColCommonElementVecMat(vec1,mat1)and (yobs[i] == yobs[n])){
if (AnyRowColCommonElementVecMat(vec1,mat1) and (yobs[i] == yobs[n])){
apprx[n] = 1;
}
}
Expand Down

0 comments on commit 9bbcc4a

Please sign in to comment.