opencv/modules/matlab/generator/templates
Rok Mandeljc fa075c50a1 Matlab bindings: fixed the functional template to perform an explicit cast to the type of an input option that is expected. This avoids issues with ternary operator not having the same type in rvalue and lvalue, such as in the case below:
Ptr_FeatureDetector blobDetector = inputs[3].empty() ? makePtr<SimpleBlobDetector>() : inputs[3].toPtrFeatureDetector();

Which after the patch, would be:

Ptr_FeatureDetector blobDetector = inputs[3].empty() ? (Ptr_FeatureDetector) makePtr<SimpleBlobDetector>() : inputs[3].toPtrFeatureDetector();
2014-05-03 17:37:48 +02:00
..
__init__.py Stripped down jinja, added cmake support 2013-06-17 16:51:24 +10:00
functional.cpp Matlab bindings: fixed the functional template to perform an explicit cast to the type of an input option that is expected. This avoids issues with ternary operator not having the same type in rvalue and lvalue, such as in the case below: 2014-05-03 17:37:48 +02:00
template_build_info.m Removing trailing whitespace and expanded tabs 2013-09-03 10:14:45 +10:00
template_class_base.cpp Removing trailing whitespace and expanded tabs 2013-09-03 10:14:45 +10:00
template_class_base.m Removing trailing whitespace and expanded tabs 2013-09-03 10:14:45 +10:00
template_cvmex_base.m Removing trailing whitespace and expanded tabs 2013-09-03 10:14:45 +10:00
template_doc_base.m Formatted URLs in the documentation so that they are redirected to the system browser instead of the builtin Matlab browser 2013-08-08 04:46:45 +10:00
template_function_base.cpp Removing trailing whitespace and expanded tabs 2013-09-03 10:14:45 +10:00
template_map_base.m Removing trailing whitespace and expanded tabs 2013-09-03 10:14:45 +10:00