Mercurial > hg > octave-nkf
comparison src/data.cc @ 11590:4ced6b90fffb
style fixes for warning and error messages in source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 18:43:39 -0500 |
parents | 12df7854fa7c |
children | 1d13679b587e |
comparison
equal
deleted
inserted
replaced
11589:b0084095098e | 11590:4ced6b90fffb |
---|---|
6700 for (octave_idx_type i = 0; i < rm.numel (); i++) | 6700 for (octave_idx_type i = 0; i < rm.numel (); i++) |
6701 { | 6701 { |
6702 octave_idx_type rx = rm(i); | 6702 octave_idx_type rx = rm(i); |
6703 if (static_cast<double> (rx) != rm(i)) | 6703 if (static_cast<double> (rx) != rm(i)) |
6704 { | 6704 { |
6705 error ("repelems: a matrix of integers is expected."); | 6705 error ("repelems: a matrix of integers is expected"); |
6706 return retval; | 6706 return retval; |
6707 } | 6707 } |
6708 | 6708 |
6709 r(i) = rx; | 6709 r(i) = rx; |
6710 } | 6710 } |