changeset 11779:7495ecab6b40 octave-forge

Fix the bug related to Array
author gedeone-octave
date Tue, 11 Jun 2013 23:28:03 +0000
parents 8fe0a21e58cf
children efaf15b36f0c
files extra/msh/devel/mshm_dolfin_write.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/extra/msh/devel/mshm_dolfin_write.cc	Tue Jun 11 16:17:02 2013 +0000
+++ b/extra/msh/devel/mshm_dolfin_write.cc	Tue Jun 11 23:28:03 2013 +0000
@@ -44,8 +44,8 @@
           (nargin == 2) ? (output_mesh = args(1).string_value ()) : (output_mesh = "mesh");
           if (! error_state)
             {
-              Matrix p (a.contents (a.seek ("p"))(0).matrix_value ());
-              Matrix t (a.contents (a.seek ("t"))(0).matrix_value ());
+              Array<double> p (a.contents (a.seek ("p"))(0).matrix_value ());
+              Array<octave_idx_type> t (a.contents (a.seek ("t"))(0).matrix_value ());
               if (! error_state)
                 {
                   dolfin::Mesh mesh;