comparison liboctave/sparse-sort.cc @ 11586:12df7854fa7c

strip trailing whitespace from source files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:24:59 -0500
parents fd0a3ac60b0e
children 72c96de7a403
comparison
equal deleted inserted replaced
11585:1473d0cf86d2 11586:12df7854fa7c
36 // A simple class and instantiation of the octave merge sort class 36 // A simple class and instantiation of the octave merge sort class
37 // to sort sparse data before matrix creation. This is significantly 37 // to sort sparse data before matrix creation. This is significantly
38 // faster than using octave_qsort. 38 // faster than using octave_qsort.
39 39
40 bool 40 bool
41 octave_sparse_sidxl_comp (octave_sparse_sort_idxl* i, 41 octave_sparse_sidxl_comp (octave_sparse_sort_idxl* i,
42 octave_sparse_sort_idxl* j) 42 octave_sparse_sort_idxl* j)
43 { 43 {
44 octave_idx_type tmp = i->c - j->c; 44 octave_idx_type tmp = i->c - j->c;
45 if (tmp < 0) 45 if (tmp < 0)
46 return true; 46 return true;