astralord / RandLib

:rocket: A library designed to facilitate work with probability, statistics and stochastic calculus
MIT License
72 stars 12 forks source link

Problems #14

Closed 1ncredibleM1nd closed 4 years ago

1ncredibleM1nd commented 4 years ago

cloned this repository. But in Qt creator has problem : no viable constructor or deduction guide for deduction of template arguments of 'NormalRand'; Wrote code according your manual NormalRand X(0, 1); std::vector data(1e6); X.Sample(data);

astralord commented 4 years ago

Unfortunately I wasn't able to reproduce this problem on my side. Could you try NormalRand<> X(0, 1) or NormalRand<double> X(0,1) instead?

If it doesn't fix problem for you, please revert to master branch, because v1.1 is not a stable version yet.