projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56d4f87
)
little change in flann save_value. Likely does not affect anything
author
Vadim Pisarevsky
<no@email>
Sat, 4 Dec 2010 17:09:40 +0000
(17:09 +0000)
committer
Vadim Pisarevsky
<no@email>
Sat, 4 Dec 2010 17:09:40 +0000
(17:09 +0000)
modules/flann/include/opencv2/flann/saving.h
patch
|
blob
|
history
diff --git
a/modules/flann/include/opencv2/flann/saving.h
b/modules/flann/include/opencv2/flann/saving.h
index
5a17311
..
bc75eb5
100644
(file)
--- a/
modules/flann/include/opencv2/flann/saving.h
+++ b/
modules/flann/include/opencv2/flann/saving.h
@@
-97,7
+97,7
@@
CV_EXPORTS IndexHeader load_header(FILE* stream);
template<typename T>
void save_value(FILE* stream, const T& value, int count = 1)
{
- fwrite(&value,
sizeof(value),
count, stream);
+ fwrite(&value,
1, sizeof(value)*
count, stream);
}