Commit 8c328a9e authored by Andrey Pavlenko's avatar Andrey Pavlenko

Java API: typo in converter is fixed

parent 0c096b3d
......@@ -138,9 +138,9 @@ public class Converters {
if(fs == null)
throw new java.lang.IllegalArgumentException("fs == null");
int count = m.rows();
if( CvType.CV_32FC1 != m.type() || m.rows()!=1 )
if( CvType.CV_32FC1 != m.type() || m.cols()!=1 )
throw new java.lang.IllegalArgumentException(
"CvType.CV_32FC1 != m.type() || m.rows()!=1\n" + m);
"CvType.CV_32FC1 != m.type() || m.cols()!=1\n" + m);
fs.clear();
float[] buff = new float[count];
......
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