comparison src/ov-cell.cc @ 11450:5eb10763069f

substitute and use LAPACK_LIBS in mkoctfile script
author John W. Eaton <jwe@octave.org>
date Thu, 06 Jan 2011 03:10:24 -0500
parents 0d9640d755b1
children 8a40037533e2
comparison
equal deleted inserted replaced
11449:93b8c7ca211f 11450:5eb10763069f
1126 octave_idx_type nel = dv.numel (); 1126 octave_idx_type nel = dv.numel ();
1127 1127
1128 for (octave_idx_type i = 0; i < nel; i++) 1128 for (octave_idx_type i = 0; i < nel; i++)
1129 { 1129 {
1130 std::ostringstream buf; 1130 std::ostringstream buf;
1131 int digits = static_cast<int> (::floor (::log10 (static_cast<double> (nel)) + 1.0)); 1131 int digits = static_cast<int> (gnulib::floor (::log10 (static_cast<double> (nel)) + 1.0));
1132 buf << "_" << std::setw (digits) << std::setfill ('0') << i; 1132 buf << "_" << std::setw (digits) << std::setfill ('0') << i;
1133 std::string s = buf.str (); 1133 std::string s = buf.str ();
1134 1134
1135 if (! add_hdf5_data (data_hid, tmp.elem (i), s.c_str (), "", false, 1135 if (! add_hdf5_data (data_hid, tmp.elem (i), s.c_str (), "", false,
1136 save_as_floats)) 1136 save_as_floats))