From 7c650ed1eef80a0f46945584680852ce6a91bdf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= <stepan@adjemian.eu> Date: Fri, 18 Dec 2020 20:57:06 +0100 Subject: [PATCH] Apply patch f082a5 to Matlab older than R2014b. --- src/@dseries/round_.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@dseries/round_.m b/src/@dseries/round_.m index 197b352..356e28b 100644 --- a/src/@dseries/round_.m +++ b/src/@dseries/round_.m @@ -38,7 +38,7 @@ for i=1:vobs(o) end end -if isoctave +if isoctave || matlab_ver_less_than('8.4') o.data = round(o.data*10^n)/10^n; else o.data = round(o.data, n); -- GitLab