File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -514,8 +514,8 @@ PMMatrix >> initializeRows: anArrayOrVector [
514514{ #category : #initialization }
515515PMMatrix >> initializeRows: rowsInteger columns: columnsInteger [
516516 " Build empty components for a matrix."
517- self assert: [ rowsInteger isInteger and : [ rowsInteger >= 0 ] ] description: ' Row size of a matrix must be a positive integer' .
518- self assert: [ columnsInteger isInteger and : [ columnsInteger >= 0 ] ] description: ' Column size of a matrix must be a positive integer' .
517+ self assert: [ rowsInteger isInteger and : [ rowsInteger > 0 ] ] description: ' Row size of a matrix must be a positive integer' .
518+ self assert: [ columnsInteger isInteger and : [ columnsInteger > 0 ] ] description: ' Column size of a matrix must be a positive integer' .
519519 rows := (1 to: rowsInteger) asPMVector collect: [ :each | PMVector new : columnsInteger ].
520520]
521521
You can’t perform that action at this time.
0 commit comments