Skip to content

Commit

Permalink
Merge pull request #5 from eddelbuettel/patch-1
Browse files Browse the repository at this point in the history
Update RcppArmadillo initialization
  • Loading branch information
x0range authored Nov 20, 2023
2 parents 3275b43 + 4a22772 commit 375257b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/finite_moment_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,7 @@ arma::vec finite_moment_test(arma::vec obs,
}

// Return
//arma::vec return_values = {Theta, chisq1_percentile};
arma::vec return_values(2);
return_values << Theta << chisq1_percentile;
arma::vec return_values({Theta, chisq1_percentile});
return(return_values);
}

0 comments on commit 375257b

Please sign in to comment.