diff --git a/include/openmc/distribution.h b/include/openmc/distribution.h index 33ff2ffcbf..92c10aed3e 100644 --- a/include/openmc/distribution.h +++ b/include/openmc/distribution.h @@ -64,7 +64,7 @@ public: double sample(uint64_t* seed) const; double a() const { return a_; } - double b() const { return a_; } + double b() const { return b_; } private: double a_; //!< Lower bound of distribution double b_; //!< Upper bound of distribution