Index: lib/matrix.rb
===================================================================
--- lib/matrix.rb	(revision 23569)
+++ lib/matrix.rb	(working copy)
@@ -383,11 +383,10 @@
   end
 
   #
-  # Returns +true+ is this is a square matrix.  See note in column_size about this
-  # being unreliable, though.
+  # Returns +true+ is this is a square matrix.
   #
   def square?
-    column_size == row_size
+    @rows.all?{|row| row.size == @rows.size}
   end
 
   #--
