From d386a4b2fcf9d53ed5adfbec12a827517ad741ee Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Thu, 6 Sep 2018 19:33:47 +1000 Subject: [PATCH] Refactor inputs --- scaling/froude.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scaling/froude.py b/scaling/froude.py index 126a095..1bd0a9c 100644 --- a/scaling/froude.py +++ b/scaling/froude.py @@ -52,7 +52,7 @@ def proto_to_model(x_proto, length_scale, from_unit, to_unit): length_scale_factor = 1 / length_scale - return _convert(x_model, length_scale_factor, from_unit, to_unit) + return _convert(x_proto, length_scale_factor, from_unit, to_unit) def model_to_proto(x_model, length_scale, from_unit, to_unit): @@ -70,4 +70,4 @@ def model_to_proto(x_model, length_scale, from_unit, to_unit): length_scale_factor = length_scale - return _convert(x, length_scale_factor, from_unit, to_unit) + return _convert(x_model, length_scale_factor, from_unit, to_unit)