diff src/ls-mat5.cc @ 5297:234abf4c74dd

[project @ 2005-04-21 21:29:46 by jwe]
author jwe
date Thu, 21 Apr 2005 21:31:26 +0000
parents bd32f770c09a
children 4c8a2e4e0717
line wrap: on
line diff
--- a/src/ls-mat5.cc	Thu Apr 21 17:52:42 2005 +0000
+++ b/src/ls-mat5.cc	Thu Apr 21 21:31:26 2005 +0000
@@ -573,6 +573,10 @@
       goto skip_ahead;
 
     case mxSPARSE_CLASS:
+#if SIZEOF_INT != SIZEOF_OCTAVE_IDX_TYPE
+      warning ("load: sparse objects are not implemented");
+      goto skip_ahead;
+#else
       {
 	int nr = dims(0);
 	int nc = dims(1);
@@ -695,6 +699,7 @@
 	  tc = sm;
       }
       break;
+#endif
 
     case mxFUNCTION_CLASS:
       warning ("load: function handles are not implemented");