"tests/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "be0bfcec4dacf5f98de9b12967472a3a5b5fcde2"
Commit ae48b2eb authored by Davis King's avatar Davis King
Browse files

Minor change to avoid a compiler error in gcc 4.1.2.

parent 2a8cb5b3
......@@ -68,7 +68,7 @@ namespace dlib
std::map<unsigned long,unsigned long> class_labels = impl::make_class_labels(row_labels);
// LDA can only give out at most class_labels.size()-1 dimensions so don't try to
// compute more than that.
lda_dims = std::min(lda_dims, class_labels.size()-1);
lda_dims = std::min<unsigned long>(lda_dims, class_labels.size()-1);
// make sure requires clause is not broken
DLIB_CASSERT(class_labels.size() > 1,
......
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