From cf656032f7c1864fe7f33e851056324d2f6104f2 Mon Sep 17 00:00:00 2001 From: Dan Short Date: Fri, 28 Aug 2020 09:37:28 +0100 Subject: [PATCH] Simplify sampling function name in doc sample_source -> sample --- docs/source/io_formats/settings.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/io_formats/settings.rst b/docs/source/io_formats/settings.rst index 0e7cacadd..09d7db123 100644 --- a/docs/source/io_formats/settings.rst +++ b/docs/source/io_formats/settings.rst @@ -466,7 +466,7 @@ attributes/sub-elements: has a few basic requirements: * It must contain a class that inherits from ``openmc::CustomSource``; - * The class must implement a function called ``sample_source()``; + * The class must implement a function called ``sample()``; * There must be an ``openmc_create_source()`` function that creates the source as a unique pointer. This function can be used to pass parameters through to the source from the XML, if needed.