diff liboctave/SparseType.cc @ 5506:b4cfbb0ec8c4

[project @ 2005-10-23 19:09:32 by dbateman]
author dbateman
date Sun, 23 Oct 2005 19:09:33 +0000
parents 22994a5730f9
children 2857357f9d3c
line wrap: on
line diff
--- a/liboctave/SparseType.cc	Fri Oct 21 12:30:29 2005 +0000
+++ b/liboctave/SparseType.cc	Sun Oct 23 19:09:33 2005 +0000
@@ -112,7 +112,7 @@
 	  typ = tmp_typ;
 	}
 
-      if (typ == Full)
+      if (typ == SparseType::Full)
 	{
 	  // Search for banded, upper and lower triangular matrices
 	  bool singular = false;
@@ -179,7 +179,7 @@
 		maybe_hermitian = true;
 	    }
 
-	  if (typ == Full)
+	  if (typ == SparseType::Full)
 	    {
 	      // Search for a permuted triangular matrix, and test if
 	      // permutation is singular
@@ -288,7 +288,7 @@
 			{
 			  if (a.ridx(k) == j)
 			    {
-			      if (a.data(i) == conj (a.data(k)))
+			      if (a.data(i) == a.data(k))
 				found = true;
 			      break;
 			    }
@@ -559,7 +559,7 @@
 			{
 			  if (a.ridx(k) == j)
 			    {
-			      if (a.data(i) == a.data(k))
+			      if (a.data(i) == conj(a.data(k)))
 				found = true;
 			      break;
 			    }