but I use cv::Mat as arguments to solveLP() how should I use them without
including mat.hpp?


2013/7/11 Vadim Pisarevsky <notifications@github.com>

> In modules/optim/include/opencv2/optim.hpp:
>
> > +// In no event shall the Intel Corporation or contributors be liable for any direct,
> > +// indirect, incidental, special, exemplary, or consequential damages
> > +// (including, but not limited to, procurement of substitute goods or services;
> > +// loss of use, data, or profits; or business interruption) however caused
> > +// and on any theory of liability, whether in contract, strict liability,
> > +// or tort (including negligence or otherwise) arising in any way out of
> > +// the use of this software, even if advised of the possibility of such damage.
> > +//
> > +//M*/
> > +
> > +#ifndef __OPENCV_OPTIM_HPP__
> > +#define __OPENCV_OPTIM_HPP__
> > +
> > +#include <iostream>
> > +#include "opencv2/core.hpp"
> > +#include "opencv2/core/mat.hpp"
>
> mat.hpp is big header with inline implementations of Mat ops. It should
> not be included in the external headers since it's not required there.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Itseez/opencv/pull/1108/files#r5140743>
> .
>