From 66051251c00ebef8a873feab0bf3192b1724152e Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 24 May 2022 11:01:10 -0500 Subject: [PATCH] Fix method links in Material docstring --- openmc/material.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openmc/material.py b/openmc/material.py index e5c3f8e4b..de1b2187b 100644 --- a/openmc/material.py +++ b/openmc/material.py @@ -29,9 +29,9 @@ class Material(IDManagerMixin): To create a material, one should create an instance of this class, add nuclides or elements with :meth:`Material.add_nuclide` or - `Material.add_element`, respectively, and set the total material density - with `Material.set_density()`. The material can then be assigned to a cell - using the :attr:`Cell.fill` attribute. + :meth:`Material.add_element`, respectively, and set the total material + density with :meth:`Material.set_density()`. The material can then be + assigned to a cell using the :attr:`Cell.fill` attribute. Parameters ----------