From cfeb14252d50911ddb2be2c618b593a9f941fd81 Mon Sep 17 00:00:00 2001 From: Gavin Ridley Date: Fri, 20 Mar 2020 12:04:51 -0400 Subject: [PATCH] Update include/openmc/distribution_spatial.h Co-Authored-By: Paul Romano --- include/openmc/distribution_spatial.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/openmc/distribution_spatial.h b/include/openmc/distribution_spatial.h index d66923c4e..ee844aa13 100644 --- a/include/openmc/distribution_spatial.h +++ b/include/openmc/distribution_spatial.h @@ -34,9 +34,9 @@ public: Position sample(uint64_t* seed) const; // Observer pointers - auto x() const { return x_.get(); } - auto y() const { return x_.get(); } - auto z() const { return x_.get(); } + Distribution* x() const { return x_.get(); } + Distribution* y() const { return x_.get(); } + Distribution* z() const { return x_.get(); } private: UPtrDist x_; //!< Distribution of x coordinates UPtrDist y_; //!< Distribution of y coordinates