changeset 11702:dc5cbdce490b octave-forge

Mark returned type as composite even when array.
author i7tiol
date Wed, 15 May 2013 17:48:17 +0000
parents 2bf47de5074a
children 984c54ab320f
files main/database/DESCRIPTION main/database/src/command.cc
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/database/DESCRIPTION	Wed May 15 10:27:19 2013 +0000
+++ b/main/database/DESCRIPTION	Wed May 15 17:48:17 2013 +0000
@@ -1,6 +1,6 @@
 Name: database
 Version: 2.1.1
-Date: 2013-05-14
+Date: 2013-05-15
 Author: Olaf Till <i7tiol@t-online.de>
 Maintainer: Olaf Till <i7tiol@t-online.de>
 Title: Database.
--- a/main/database/src/command.cc	Wed May 15 10:27:19 2013 +0000
+++ b/main/database/src/command.cc	Wed May 15 17:48:17 2013 +0000
@@ -411,7 +411,7 @@
 
       types_name(j) = octave_value (conv->name);
       types_array(j) = octave_value (oct_type == array);
-      types_composite(j) = octave_value (oct_type == composite);
+      types_composite(j) = octave_value (conv->is_composite);
       types_enum(j) = octave_value (conv->is_enum);
 
       for (int i = 0; i < nt; i++) // i is row