Skip to content

Commit

Permalink
fix ones() and related tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Whiteknight committed Nov 15, 2009
1 parent d6ba95e commit 2697ae6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/builtins/ones.pir
Expand Up @@ -13,9 +13,7 @@ Create an n x m matrix of ones.

.local pmc A
A = new 'NumMatrix2D'
$I0 = rows + 1
$I1 = cols + 1
A.'fill'(1.0, $I0, $I1)
A.'fill'(1.0, cols, rows)
.return(A)
.end

Expand Down

0 comments on commit 2697ae6

Please sign in to comment.