From 07a025065ee620b8e9829b7cda561d0b3421fa6b Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Thu, 9 Feb 2017 09:59:01 -0500 Subject: [PATCH] Fixed typos in rectangular prism docstring per comments by @paulromano --- openmc/surface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmc/surface.py b/openmc/surface.py index 1fd26c270a..04c7f95981 100644 --- a/openmc/surface.py +++ b/openmc/surface.py @@ -1806,12 +1806,12 @@ def get_rectangular_prism(width, height, axis='z', origin=(0., 0.)): or x axes for prisms parallel to the x, y, or z axis, respectively. height: float Prism height in units of cm. The height is aligned with the z, z, - or z axes for prisms parallel to the x, y, or z axis, respectively. + or y axes for prisms parallel to the x, y, or z axis, respectively. axis : {'x', 'y', 'z'} Axis with which the infinite length of the prism should be aligned. Defaults to 'z'. origin: Iterable of two floats - Origin of the prism. The two floats correspond to (x,y), (x,z) or + Origin of the prism. The two floats correspond to (y,z), (x,z) or (x,y) for prisms parallel to the x, y or z axis, respectively. Defaults to (0., 0.).