Skip to content

Commit

Permalink
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-buildbot committed Oct 20, 2022
1 parent 1840fca commit af8343b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/cmdstan/arguments/arg_log_prob_constrained_params.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
namespace cmdstan {
/**
* Argument for providing a file of parameters on the constrained scale
* for use with the `log_prob` argument. The file can be in JSON or R Dump format,
* using the same structure as the 'init' argument. Like the 'init' argument, if
* the file has a '.json' extension it is treated as a JSON file, otherwise it
* is treated as an RDump file.
* for use with the `log_prob` argument. The file can be in JSON or R Dump
* format, using the same structure as the 'init' argument. Like the 'init'
* argument, if the file has a '.json' extension it is treated as a JSON file,
* otherwise it is treated as an RDump file.
*/
class arg_log_prob_constrained_params : public string_argument {
public:
Expand Down
2 changes: 1 addition & 1 deletion src/cmdstan/command.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ int command(int argc, const char *argv[]) {
try {
double lp;
std::vector<double> gradients;
for (auto&& param_set : params_r_ind) {
for (auto &&param_set : params_r_ind) {
if (jacobian_adjust) {
lp = stan::model::log_prob_grad<true, true>(
model, param_set, dummy_params_i, gradients);
Expand Down

0 comments on commit af8343b

Please sign in to comment.