Permalink
Browse files

Fixed mlint end warnings

  • Loading branch information...
1 parent 661e09f commit b46669ac9d76371a56f9d7c9c3abcd1ae3c895a8 David committed May 16, 2009
Showing with 6 additions and 3 deletions.
  1. +6 −3 sparse_to_csr.m
View
@@ -31,12 +31,15 @@
nz = length(A);
if length(nzi) ~= length(nzj), error('gaimc:invalidInput',...
'length of nzi (%i) not equal to length of nzj (%i)', nz, ...
- length(nzj)); end
+ length(nzj));
+ end
if reta && length(varargin) < 3, error('gaimc:invalidInput',...
- 'no value array passed for triplet input, see usage'); end
+ 'no value array passed for triplet input, see usage');
+ end
if ~isscalar(n), error('gaimc:invalidInput',...
['the final input to sparse_to_csr with triple input was not ' ...
- 'a scalar']); end
+ 'a scalar']);
+ end
else
n = size(A,1); nz=nnz(A);

0 comments on commit b46669a

Please sign in to comment.