diff libinterp/corefcn/mex.cc @ 22599:51b395d24782 stable

maint: strip tabs and trailing whitespace from C++ sources.
author John W. Eaton <jwe@octave.org>
date Thu, 06 Oct 2016 11:55:20 -0400
parents 9263b2889003
children 3a2b891d0b33 e9a0469dedd9
line wrap: on
line diff
--- a/libinterp/corefcn/mex.cc	Thu Oct 06 11:52:12 2016 -0400
+++ b/libinterp/corefcn/mex.cc	Thu Oct 06 11:55:20 2016 -0400
@@ -300,7 +300,7 @@
   {
     request_mutation ();
 
-    return 0; 
+    return 0;
   }
 
   mwSize get_number_of_elements (void) const { return val.numel (); }
@@ -313,7 +313,7 @@
     get_dimensions ();
 
     return ndims == 2 && dims[0] == 1 && dims[1] == 1;
-  }  
+  }
 
   mxClassID get_class_id (void) const
   {
@@ -382,8 +382,8 @@
   {
     if (val.is_sparse_type ())
       {
-        // For sparse arrays, return the first non-zero value. 
-        void * data = val.mex_get_data (); 
+        // For sparse arrays, return the first non-zero value.
+        void * data = val.mex_get_data ();
         if (data == NULL)
           return 0.0;
 
@@ -775,7 +775,7 @@
       {
         dims
           = static_cast<mwSize *> (mxArray::malloc (ndims * sizeof (mwSize)));
-        
+
         if (dims == NULL)
           return 1;