File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232#include < ql/shared_ptr.hpp>
3333
3434#include < boost/accumulators/accumulators.hpp>
35- #include < boost/accumulators/statistics.hpp>
35+ // #include <boost/accumulators/statistics.hpp>
36+ // Including <boost/accumulators/statistics.hpp> causes the following swig wrapper compiler errors
37+ // explicit specialization of 'boost::accumulators::feature_of<boost::accumulators::tag::weighted_skewness>'
38+ // explicit specialization of 'boost::accumulators::feature_of<boost::accumulators::tag::weighted_kurtosis>'
39+ // The following subset of includes is sufficient here and circumvents the swig errors
40+ #include < boost/accumulators/statistics/stats.hpp>
41+ #include < boost/accumulators/statistics/variance.hpp>
42+ #include < boost/accumulators/statistics/covariance.hpp>
43+ #include < boost/accumulators/statistics/variates/covariate.hpp>
3644
3745namespace ore {
3846namespace analytics {
You can’t perform that action at this time.
0 commit comments