xo-process: bugfix: track xo::ref::rp -> xo::rp

This commit is contained in:
Roland Conybeare 2024-09-14 18:28:22 -05:00
commit 7cfc560f02
12 changed files with 38 additions and 39 deletions

View file

@ -17,10 +17,10 @@ namespace xo {
public:
/* log-normal process starting at (t0, x0) */
template<typename RngEngine, typename Seed>
static ref::rp<ExpProcess> make(utc_nanos t0, double x0,
static rp<ExpProcess> make(utc_nanos t0, double x0,
double sdev, Seed const & seed) {
ref::rp<BrownianMotion<RngEngine>> bm
rp<BrownianMotion<RngEngine>> bm
= BrownianMotion<RngEngine>::make(t0, sdev, seed);
return ExpProcess::make(x0 /*scale*/, bm);