From 40918f43169ade93eb327d8d97330e3ddcd35d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Thu, 7 Mar 2019 09:39:14 +0100 Subject: [PATCH] Fixed condition in integration tests for ec.istarget. --- tests/pac/trend-component-13a/example.mod | 2 +- tests/pac/trend-component-13b/example.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pac/trend-component-13a/example.mod b/tests/pac/trend-component-13a/example.mod index 0ae12e910..da102a915 100644 --- a/tests/pac/trend-component-13a/example.mod +++ b/tests/pac/trend-component-13a/example.mod @@ -69,6 +69,6 @@ end; // Initialize the PAC model (build the Companion VAR representation for the auxiliary model). pac.initialize('pacman'); -if ~isequal(M_.pac.pacman.equations.(M_.pac.pacman.tag_map{strcmp(M_.pac.pacman.tag_map(:,1), 'zpac'),2}).ec.istarget, [false, true]) +if ~isequal(M_.pac.pacman.equations.(M_.pac.pacman.tag_map{strcmp(M_.pac.pacman.tag_map(:,1), 'zpac'),2}).ec.istarget, [true, false]) error('ec.istarget vector is wrong.') end diff --git a/tests/pac/trend-component-13b/example.mod b/tests/pac/trend-component-13b/example.mod index f05efc1bc..49d275bb5 100644 --- a/tests/pac/trend-component-13b/example.mod +++ b/tests/pac/trend-component-13b/example.mod @@ -69,6 +69,6 @@ end; // Initialize the PAC model (build the Companion VAR representation for the auxiliary model). pac.initialize('pacman'); -if ~isequal(M_.pac.pacman.equations.(M_.pac.pacman.tag_map{strcmp(M_.pac.pacman.tag_map(:,1), 'zpac'),2}).ec.istarget, [true, false]) +if ~isequal(M_.pac.pacman.equations.(M_.pac.pacman.tag_map{strcmp(M_.pac.pacman.tag_map(:,1), 'zpac'),2}).ec.istarget, [false, true]) error('ec.istarget vector is wrong.') end