From 95b3b077792a12454a11c57ca5691a240b32fbfb Mon Sep 17 00:00:00 2001 From: Andreas Pedersen <andped10@gmail.com> Date: Wed, 28 Feb 2024 14:58:24 +0100 Subject: [PATCH] fix introduced bug --- .../sample/elements/materials/material_mixture.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EasyReflectometry/sample/elements/materials/material_mixture.py b/EasyReflectometry/sample/elements/materials/material_mixture.py index 4fec5041..9a00cf3c 100644 --- a/EasyReflectometry/sample/elements/materials/material_mixture.py +++ b/EasyReflectometry/sample/elements/materials/material_mixture.py @@ -33,7 +33,7 @@ def __init__( material_a: Material, material_b: Material, fraction: Parameter, - name: str = 'EasyMaterialMixture', + name: str = None, interface=None, ): """Constructor. @@ -41,7 +41,7 @@ def __init__( :param material_a: The first material. :param material_b: The second material. :param fraction: The fraction of material_b in material_a. - :param name: Name of the material, defaults to 'EasyMaterialMixture'. + :param name: Name of the material, defaults to None that causes the name to be constructed. :param interface: Calculator interface, defaults to :py:attr:`None`. """ if name is None: