From 12b913203e12549e013cdbb2187c0b36ae02ddef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Telemachus=29?=
 <stephane.adjemian@univ-lemans.fr>
Date: Sun, 9 Nov 2014 17:27:00 +0100
Subject: [PATCH] Fixed bug.

Output argument t was not initialized when dassert() routine was called
with three arguments for comparing arrays of doubles.
---
 src/dassert.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/dassert.m b/src/dassert.m
index 021e9e4..d773879 100644
--- a/src/dassert.m
+++ b/src/dassert.m
@@ -57,6 +57,8 @@ if isa(A,'double')
     else
         if max(abs(A(:)-B(:)))>tol
             t = 0;
+        else
+            t = 1;
         end
     end
 elseif isa(A,'cell')
-- 
GitLab