Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dpcomp_core/algorithm/thirdparty/xiaokui/Utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void Utilities::tokenize(const string& str,vector<double>& tokens,const string&

void Utilities::readFile(const string file_name, vector<double>& histogram){
ifstream in(file_name.c_str(), ios_base::in);
if(in == NULL){
if(!in){
cout << "Error:open data file error.\n";
getchar();
exit(0);
Expand Down