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:
0c096b3
)
Java API: typo in converter is fixed
author
Andrey Pavlenko
<no@email>
Thu, 28 Jul 2011 15:37:46 +0000
(15:37 +0000)
committer
Andrey Pavlenko
<no@email>
Thu, 28 Jul 2011 15:37:46 +0000
(15:37 +0000)
modules/java/src/java/Converters.java
patch
|
blob
|
history
diff --git
a/modules/java/src/java/Converters.java
b/modules/java/src/java/Converters.java
index
7957099
..
300eec3
100644
(file)
--- a/
modules/java/src/java/Converters.java
+++ b/
modules/java/src/java/Converters.java
@@
-138,9
+138,9
@@
public class Converters {
if(fs == null)
\r
throw new java.lang.IllegalArgumentException("fs == null");
\r
int count = m.rows();
\r
- if( CvType.CV_32FC1 != m.type() || m.
row
s()!=1 )
\r
+ if( CvType.CV_32FC1 != m.type() || m.
col
s()!=1 )
\r
throw new java.lang.IllegalArgumentException(
\r
- "CvType.CV_32FC1 != m.type() || m.
row
s()!=1\n" + m);
\r
+ "CvType.CV_32FC1 != m.type() || m.
col
s()!=1\n" + m);
\r
\r
fs.clear();
\r
float[] buff = new float[count];
\r