Commit 695aa02e authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

little change in flann save_value. Likely does not affect anything

parent 56d4f875
...@@ -97,7 +97,7 @@ CV_EXPORTS IndexHeader load_header(FILE* stream); ...@@ -97,7 +97,7 @@ CV_EXPORTS IndexHeader load_header(FILE* stream);
template<typename T> template<typename T>
void save_value(FILE* stream, const T& value, int count = 1) void save_value(FILE* stream, const T& value, int count = 1)
{ {
fwrite(&value, sizeof(value),count, stream); fwrite(&value, 1, sizeof(value)*count, stream);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment