paulnorthrop / rust
Showing 1 of 1 files from the diff.

@@ -244,19 +244,14 @@
Loading
244 244
  Rcpp::IntegerVector which_lam = tpars["which_lam"] ;
245 245
  Rcpp::NumericVector theta, phi, psi, phi2, temp, temp2 ;
246 246
  double val, log_bc_jac, logj ;
247 -
  Rcout << "rho = " << rho << std::endl;
248 247
  psi = cpp_rho_to_psi(rho, psi_mode, rot_mat) ;
249 -
  Rcout << "psi = " << psi << std::endl;
250 248
  temp = psi * con + 1.0 ;
251 249
  temp = temp[which_lam] ;
252 -
  Rcout << "temp = " << temp << std::endl;
253 250
  if (any_nonpos(temp)) {
254 251
    return R_NegInf ;
255 252
  }
256 253
  phi = psi_to_phi_fun(psi, lambda, gm, con) ;
257 -
  Rcout << "phi = " << phi << std::endl;
258 254
  theta = phi_to_theta_fun(phi, user_args) ;
259 -
  Rcout << "theta = " << theta << std::endl;
260 255
  if (any_naC(theta)) {
261 256
    return R_NegInf ;
262 257
  }
@@ -297,6 +292,9 @@
Loading
297 292
  double val, logj ;
298 293
  phi = cpp_rho_to_psi(rho, psi_mode, rot_mat) ;
299 294
  theta = phi_to_theta_fun(phi, user_args) ;
295 +
  if (any_infinite(theta)) {
296 +
    return R_NegInf ;
297 +
  }
300 298
  if (any_naC(theta)) {
301 299
    return R_NegInf ;
302 300
  }
Files Coverage
R 62.90%
src 82.38%
inst/include/rust_RcppExports.h 0.00%
Project Totals (12 files) 67.68%
mi8lj91cvla4skxe

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading