File tree Expand file tree Collapse file tree 6 files changed +17
-6
lines changed Expand file tree Collapse file tree 6 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 11#ifndef STAN_MODEL_MODEL_BASE_HPP
22#define STAN_MODEL_MODEL_BASE_HPP
33
4- #include < stan/io/var_context.hpp>
5- #include < stan/math/rev/core.hpp>
64#ifdef STAN_MODEL_FVAR_VAR
75#include < stan/math/mix.hpp>
86#endif
7+ #include < stan/io/var_context.hpp>
8+ #include < stan/math/rev/core.hpp>
99#include < stan/model/prob_grad.hpp>
1010#include < stan/services/util/create_rng.hpp>
1111#include < ostream>
Original file line number Diff line number Diff line change 11#ifndef STAN_MODEL_MODEL_BASE_CRTP_HPP
22#define STAN_MODEL_MODEL_BASE_CRTP_HPP
33
4- #include < stan/model/model_base.hpp>
54#ifdef STAN_MODEL_FVAR_VAR
65#include < stan/math/mix.hpp>
76#endif
7+ #include < stan/model/model_base.hpp>
88#include < iostream>
99#include < utility>
1010#include < vector>
Original file line number Diff line number Diff line change 11#ifndef STAN_MODEL_MODEL_HEADER_HPP
22#define STAN_MODEL_MODEL_HEADER_HPP
33
4+ #include < stan/model/model_base.hpp>
5+ #include < stan/model/model_base_crtp.hpp>
46#include < stan/math.hpp>
57
68#include < stan/io/deserializer.hpp>
79#include < stan/io/serializer.hpp>
810
911#include < stan/model/rethrow_located.hpp>
10- #include < stan/model/model_base.hpp>
11- #include < stan/model/model_base_crtp.hpp>
1212#include < stan/model/prob_grad.hpp>
1313#include < stan/model/indexing.hpp>
1414#include < stan/services/util/create_rng.hpp>
Original file line number Diff line number Diff line change 1+ data {
2+ int < lower =1 > N;
3+ }
4+ parameters {
5+ vector [N] y;
6+ }
7+ model {
8+ target += y;
9+ }
Original file line number Diff line number Diff line change 1+ // test model which previously failed with -DSTAN_MODEL_FVAR_VAR
2+ #include < test/test-models/good/model/accumulate.hpp>
You can’t perform that action at this time.
0 commit comments