Skip to content

Commit 63e60df

Browse files
changing order of stop arguments
1 parent 206e236 commit 63e60df

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

selectiveInference/R/funs.fixed.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,8 @@ debiasingRow = function (Xinfo, # could be X or t(X) %*% X / n dep
453453
objective_tol,
454454
parameter_tol,
455455
max_active,
456-
objective_stop,
457456
kkt_stop,
457+
objective_stop,
458458
parameter_stop)
459459
} else {
460460
result = solve_QP_wide(Xinfo, # this is a design matrix
@@ -471,8 +471,8 @@ debiasingRow = function (Xinfo, # could be X or t(X) %*% X / n dep
471471
objective_tol,
472472
parameter_tol,
473473
max_active,
474-
objective_stop,
475474
kkt_stop,
475+
objective_stop,
476476
parameter_stop)
477477

478478
}

selectiveInference/src/Rcpp-debias.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Rcpp::List solve_QP(Rcpp::NumericMatrix Sigma,
1717
double objective_tol,
1818
double parameter_tol,
1919
int max_active,
20-
int objective_stop,
2120
int kkt_stop,
21+
int objective_stop,
2222
int param_stop
2323
) {
2424

@@ -55,8 +55,8 @@ Rcpp::List solve_QP(Rcpp::NumericMatrix Sigma,
5555
objective_tol,
5656
parameter_tol,
5757
max_active,
58-
objective_stop,
5958
kkt_stop,
59+
objective_stop,
6060
param_stop);
6161

6262
// Check whether feasible
@@ -96,8 +96,8 @@ Rcpp::List solve_QP_wide(Rcpp::NumericMatrix X,
9696
double objective_tol,
9797
double parameter_tol,
9898
int max_active,
99-
int objective_stop,
10099
int kkt_stop,
100+
int objective_stop,
101101
int param_stop
102102
) {
103103

@@ -148,8 +148,8 @@ Rcpp::List solve_QP_wide(Rcpp::NumericMatrix X,
148148
objective_tol,
149149
parameter_tol,
150150
max_active,
151-
objective_stop,
152151
kkt_stop,
152+
objective_stop,
153153
param_stop);
154154

155155
// Check whether feasible

0 commit comments

Comments
 (0)