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