Changeset 2055
- Timestamp:
- Sep 8, 2009, 8:23:43 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/Suite.cc
r2035 r2055 28 28 #include <fstream> 29 29 #include <iostream> 30 #include <limits> 30 31 #include <sstream> 31 32 #include <string> -
trunk/test/data_lookup_1d_test.cc
r1797 r2055 32 32 #include <fstream> 33 33 #include <iostream> 34 #include <limits> 34 35 #include <vector> 35 36 #include <cmath> -
trunk/test/fileutil_test.cc
r1797 r2055 47 47 bool testval=true; 48 48 utility::FileUtil file("."); 49 if ( testval=file.exists())49 if ((testval=file.exists())) 50 50 suite.err() << "\tfile exists: " << file.path() << std::endl; 51 51 suite.add(testval); … … 133 133 suite.err() << "\tr permission failed on " << file.path() << std::endl; 134 134 suite.add(testval); 135 if ( testval=file.permissions("rwx"))135 if ((testval=file.permissions("rwx"))) 136 136 suite.err() << "\trwx permissions failed on " << file.path() << std::endl; 137 137 suite.add(testval); 138 if ( testval=file.permissions("w"))138 if ((testval=file.permissions("w"))) 139 139 suite.err() << "\tw permission failed on " << file.path() << std::endl; 140 140 suite.add(testval); 141 if ( testval=file.permissions("d"))141 if ((testval=file.permissions("d"))) 142 142 suite.err() << "\td permission failed on " << file.path() << std::endl; 143 143 suite.add(testval); -
trunk/test/large_file_test.cc
r1797 r2055 27 27 #include "Suite.h" 28 28 29 #include <limits> 29 30 #include <string> 30 31 #include <sys/stat.h> -
trunk/yat/classifier/KNN.h
r1875 r2055 35 35 36 36 #include <cmath> 37 #include <limits> 37 38 #include <map> 38 39 #include <stdexcept> -
trunk/yat/classifier/SvmMultiClass.cc
r1865 r2055 28 28 29 29 #include <cassert> 30 #include < climits>30 #include <limits> 31 31 32 32 namespace theplu { -
trunk/yat/normalizer/qQuantileNormalizer.h
r2006 r2055 33 33 #include <cmath> 34 34 #include <iterator> 35 #include <limits> 35 36 #include <numeric> 36 37 #include <stdexcept> -
trunk/yat/statistics/FoldChange.h
r1797 r2055 28 28 namespace theplu { 29 29 namespace yat { 30 class utility::VectorBase; 30 namespace utility { 31 class VectorBase; 32 } 31 33 namespace statistics { 32 34 -
trunk/yat/statistics/KolmogorovSmirnov.h
r1886 r2055 24 24 */ 25 25 26 #include <iosfwd> 26 27 #include <set> 27 28 #include <vector> -
trunk/yat/statistics/utility.cc
r1797 r2055 31 31 #include <algorithm> 32 32 #include <cassert> 33 #include <limits> 33 34 34 35 namespace theplu { -
trunk/yat/utility/FileUtil.cc
r2013 r2055 33 33 #include <cerrno> 34 34 #include <cstddef> 35 #include <cstring> 35 36 #include <iostream> 36 37 #include <stdexcept> -
trunk/yat/utility/OptionFile.cc
r2049 r2055 25 25 #include "FileUtil.h" 26 26 27 #include <cstring> 27 28 #include <string> 28 29 -
trunk/yat/utility/OptionHelp.cc
r2046 r2055 23 23 #include "CommandLine.h" 24 24 25 #include <cstdlib> 25 26 #include <iostream> 26 27 #include <string> -
trunk/yat/utility/utility.h
r1971 r2055 205 205 if (is_equal(s, "inf")) 206 206 return std::numeric_limits<T>::infinity(); 207 if (is_equal(s, "-inf")) 207 if (is_equal(s, "-inf")) { 208 208 if (std::numeric_limits<T>::is_signed) 209 209 return -std::numeric_limits<T>::infinity(); … … 211 211 throw std::runtime_error(std::string("yat::utility::convert(\"")+s+ 212 212 std::string("\"): type is unsigned") ); 213 } 213 214 std::stringstream ss(s); 214 215 T a;
Note: See TracChangeset
for help on using the changeset viewer.