Quentin Spencer 7ede29
--- src/DLD-FUNCTIONS/spchol.cc.orig	2005-11-11 10:44:05.000000000 -0700
Quentin Spencer 7ede29
+++ src/DLD-FUNCTIONS/spchol.cc	2005-11-30 15:41:35.000000000 -0700
Quentin Spencer bc442a
@@ -609,7 +609,11 @@
Quentin Spencer bc442a
 	  for (octave_idx_type k = 0 ; k < n ; k++)
Quentin Spencer bc442a
 	    {
Quentin Spencer bc442a
 	      // get the kth row of L and store in the columns of L
Quentin Spencer bc442a
+#ifdef IDX_TYPE_LONG
Quentin Spencer bc442a
+	      cholmod_l_row_subtree (A1, A2, k, Parent, R, cm) ;
Quentin Spencer bc442a
+#else
Quentin Spencer bc442a
 	      cholmod_row_subtree (A1, A2, k, Parent, R, cm) ;
Quentin Spencer bc442a
+#endif
Quentin Spencer bc442a
 	      for (octave_idx_type p = 0 ; p < Rp [1] ; p++)
Quentin Spencer bc442a
 		L.xridx (W [Ri [p]]++) = k ;
Quentin Spencer bc442a