Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
eed11303
Commit
eed11303
authored
6 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11966 from alalek:core_solve_method_check
parents
9d8495f8
5385086f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
lapack.cpp
modules/core/src/lapack.cpp
+3
-0
No files found.
modules/core/src/lapack.cpp
View file @
eed11303
...
...
@@ -1100,6 +1100,9 @@ bool cv::solve( InputArray _src, InputArray _src2arg, OutputArray _dst, int meth
CV_Assert
(
type
==
_src2
.
type
()
&&
(
type
==
CV_32F
||
type
==
CV_64F
)
);
method
&=
~
DECOMP_NORMAL
;
CV_Check
(
method
,
method
==
DECOMP_LU
||
method
==
DECOMP_SVD
||
method
==
DECOMP_EIG
||
method
==
DECOMP_CHOLESKY
||
method
==
DECOMP_QR
,
"Unsupported method, see #DecompTypes"
);
CV_Assert
(
(
method
!=
DECOMP_LU
&&
method
!=
DECOMP_CHOLESKY
)
||
is_normal
||
src
.
rows
==
src
.
cols
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment