From 207c2f138fdb2176b42f18b10d8fdf389a39b426 Mon Sep 17 00:00:00 2001 From: Juacrumar <juacrumar@lairen.eu> Date: Wed, 30 Sep 2020 13:50:09 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Cameron Voisey <32741139+voisey@users.noreply.github.com> --- n3fit/src/n3fit/checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/n3fit/src/n3fit/checks.py b/n3fit/src/n3fit/checks.py index 1c4310df8e..a3df005a46 100644 --- a/n3fit/src/n3fit/checks.py +++ b/n3fit/src/n3fit/checks.py @@ -111,7 +111,7 @@ def check_dropout(parameters): def check_tensorboard(tensorboard): - """ Check that the tensorbard callback can enabled correctly """ + """ Check that the tensorbard callback can be enabled correctly """ if tensorboard is not None: weight_freq = tensorboard.get("weight_freq", 0) if weight_freq < 0: @@ -122,7 +122,7 @@ def check_tensorboard(tensorboard): def check_lagrange_multipliers(parameters, key): """Checks the parameters in a lagrange multiplier dictionary - are correct (positivity, integrability)""" + are correct, e.g. for positivity and integrability""" lagrange_dict = parameters.get(key) if lagrange_dict is None: return -- GitLab