From e105359882b3907234c84b309a11b5fd39a88f80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= <stephane.adjemian@univ-lemans.fr> Date: Wed, 25 Jan 2017 09:13:10 +0100 Subject: [PATCH] Fixed bug with Octave (table not defined). --- src/@dseries/dseries.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@dseries/dseries.m b/src/@dseries/dseries.m index 4a920dc..9436c93 100644 --- a/src/@dseries/dseries.m +++ b/src/@dseries/dseries.m @@ -103,7 +103,7 @@ classdef dseries<handle % --*-- Unitary tests --*-- else o.tex = tex; end - elseif istable(varargin{1}) + elseif ~isoctave() && istable(varargin{1}) % It is assumed that the dates are in the first column. thistable = varargin{1}; o.name = varargin{1}.Properties.VariableNames(2:end); -- GitLab