Changeset 301 for trunk/lib/gslapi
- Timestamp:
- Apr 30, 2005, 3:39:27 PM (17 years ago)
- Location:
- trunk/lib/gslapi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/gslapi/matrix.cc
r295 r301 52 52 u_int nof_rows = 0; 53 53 std::vector<double> v; 54 for (nof_rows = 0; cpptools::read_to_double(is, v); nof_rows++) {54 for (nof_rows = 0; utility::read_to_double(is, v); nof_rows++) { 55 55 56 56 // Ignoring empty lines -
trunk/lib/gslapi/utility.cc
r298 r301 33 33 { 34 34 vector vec(invec); 35 theplu::cpptools::random_singleton*36 rnd= theplu::cpptools::random_singleton::get_instance();35 utility::random_singleton* 36 rnd=utility::random_singleton::get_instance(); 37 37 for (size_t i=0; i<vec.size(); i++){ 38 38 size_t index = rnd->get_uniform_int(vec.size()-i);
Note: See TracChangeset
for help on using the changeset viewer.