From e5f711028ae15eecc728148351f023ef0c2d4e82 Mon Sep 17 00:00:00 2001 From: Bryon Tjanaka Date: Sun, 4 Apr 2021 21:48:07 -0700 Subject: [PATCH] Add emitter note on dtype --- ribs/emitters/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ribs/emitters/__init__.py b/ribs/emitters/__init__.py index 624b6fdd4..7b089c287 100644 --- a/ribs/emitters/__init__.py +++ b/ribs/emitters/__init__.py @@ -1,7 +1,10 @@ """Emitters output new candidate solutions in QD algorithms. -A note on data types: The emitters provided here will use the same data type as -the ones in the archive passed in. +.. note:: + Emitters provided here take on the data type of the archive passed to their + constructor. For instance, if an archive has dtype ``np.float64``, then an + emitter created with that archive will emit solutions with dtype + ``np.float64``. .. autosummary:: :toctree: