Skip to content

Commit

Permalink
Set all tolerances to 1e-6
Browse files Browse the repository at this point in the history
  • Loading branch information
bpfaff committed Apr 16, 2020
1 parent d006d8d commit f7cfcb2
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: cccp
Version: 0.2-5
Date: 2015-05-07
Version: 0.2-6
Date: 2020-04-16
Title: Cone Constrained Convex Problems
Authors@R: c(person("Bernhard", "Pfaff", role = c("aut", "cre"), email = "[email protected]"), person("Lieven", "Vandenberghe", role = "cph", comment = "copyright holder of cvxopt"), person("Martin", "Andersen", role = "cph", comment = "copyright holder of cvxopt"), person("Joachim", "Dahl", role = "cph", comment = "copyright holder of cvxopt"))
Maintainer: Bernhard Pfaff <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion R/ctrl.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##
## Function for creating 'CTRL' objects
ctrl <- function(maxiters = 100L, abstol = 1e-7, reltol = 1e-6, feastol = 1e-7,
ctrl <- function(maxiters = 100L, abstol = 1e-6, reltol = 1e-6, feastol = 1e-6,
stepadj = 0.95, beta = 0.5, trace = TRUE){

if(!is.integer(maxiters)){
Expand Down
4 changes: 2 additions & 2 deletions man/ctrl.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
}

\usage{
ctrl(maxiters = 100L, abstol = 1e-07, reltol = 1e-06,
feastol = 1e-07, stepadj = 0.95, beta = 0.5, trace = TRUE)
ctrl(maxiters = 100L, abstol = 1e-06, reltol = 1e-06,
feastol = 1e-06, stepadj = 0.95, beta = 0.5, trace = TRUE)
}

\arguments{
Expand Down
21 changes: 21 additions & 0 deletions src/RcppExports.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#include "../inst/include/cccp.h"
#include <RcppArmadillo.h>
#include <Rcpp.h>

using namespace Rcpp;


RcppExport SEXP _rcpp_module_boot_CPG();

static const R_CallMethodDef CallEntries[] = {
{"_rcpp_module_boot_CPG", (DL_FUNC) &_rcpp_module_boot_CPG, 0},
{NULL, NULL, 0}
};

RcppExport void R_init_cccp(DllInfo *dll) {
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
R_useDynamicSymbols(dll, FALSE);
}

0 comments on commit f7cfcb2

Please sign in to comment.