diff --git a/include/xo/distribution/ExplicitDist.hpp b/include/xo/distribution/ExplicitDist.hpp index 516413e1..abb673bb 100644 --- a/include/xo/distribution/ExplicitDist.hpp +++ b/include/xo/distribution/ExplicitDist.hpp @@ -179,13 +179,13 @@ namespace xo { using iterator = detail::ExplicitDistIterator; public: - static ref::rp make(Domain bucket_dx, Domain ref_value) { + static rp make(Domain bucket_dx, Domain ref_value) { return new ExplicitDist(bucket_dx, ref_value); } /* create distribution with n buckets of width bucket_dx, * covering range [ref_value, ref_value + n * bucket_dx] */ - static ref::rp make_n(size_t n, Domain bucket_dx, Domain ref_value) { + static rp make_n(size_t n, Domain bucket_dx, Domain ref_value) { return new ExplicitDist(n, bucket_dx, ref_value); }