Commit 1648e929 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #5431 from MiguelAlgaba:em_one_cluster

parents 37ce3b8c b71a27b9
...@@ -61,7 +61,7 @@ public: ...@@ -61,7 +61,7 @@ public:
void setClustersNumber(int val) void setClustersNumber(int val)
{ {
nclusters = val; nclusters = val;
CV_Assert(nclusters > 1); CV_Assert(nclusters >= 1);
} }
int getClustersNumber() const int getClustersNumber() const
......
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