Skip to content
This repository
Browse code

pass proper stride on column_vecview

  • Loading branch information...
commit 64db7cbab77cacfe2a6da25b3a94c848296b95e2 1 parent d1498e2
Robert Berry authored February 02, 2011 v01d committed February 03, 2011
1  .gitignore
@@ -9,3 +9,4 @@ pkg
9 9
 lib/*.so
10 10
 *~
11 11
 *.swp
  12
+*.swo
2  lib/gslng/matrix.rb
@@ -199,7 +199,7 @@ def row_vecview(i, offset = 0, size = nil)
199 199
     def column_vecview(i, offset = 0, size = nil)
200 200
       size = (@m - offset) if size.nil?
201 201
       ptr = @backend.gsl_matrix_column_view(@ptr, i, offset, size)
202  
-      Vector::View.new(ptr, self, size)
  202
+      Vector::View.new(ptr, self, size, self.columns)
203 203
     end
204 204
 
205 205
     

0 notes on commit 64db7cb

Please sign in to comment.
Something went wrong with that request. Please try again.