From 2bab60fb5d25ba515b1e23ae2f41c715ffc7df37 Mon Sep 17 00:00:00 2001 From: buccimtpc <35525053+buccimtpc@users.noreply.github.com> Date: Wed, 4 Dec 2019 12:44:38 +0200 Subject: [PATCH] Update magia_match_units.m Also this should be changed, according to my previous comments on magia_read_input --- magia_match_units.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/magia_match_units.m b/magia_match_units.m index 1e98914..163a6c0 100644 --- a/magia_match_units.m +++ b/magia_match_units.m @@ -10,12 +10,12 @@ max_input = max(input(:,2)); corrected_input = input; -if(max_pet > 100 && max_input < 100) +if(max_pet > 100 && max_input < 200) % pet bq, input kbq corrected_input(:,2) = input(:,2)*1000; -elseif(max_pet < 100 && max_input > 100) +elseif(max_pet < 100 && max_input > 200) % pet kbq, input bq corrected_input(:,2) = input(:,2)*0.001; end -end \ No newline at end of file +end -- GitLab