Skip to content
Snippets Groups Projects
Commit 10cc55ae authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[container.conversion] fix convert_to ambiguity

parent d4b54a77
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,9 @@ namespace LA {
template <class RangeType, class SourceType>
typename std::enable_if<Common::is_matrix<SourceType>::value && Common::is_matrix<RangeType>::value, RangeType>::type
typename std::enable_if<Common::is_matrix<SourceType>::value && Common::is_matrix<RangeType>::value
&& !is_matrix<SourceType>::value,
RangeType>::type
convert_to(const SourceType& source)
{
return Common::convert_to<RangeType>(source);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment