Compilation Error: Matlab Interpolant PLugin
On branch master, the Matlab interpolate plugin does not compile anymore. See below for compilation errors
/usr/bin/g++ -o build/sources/plugins/data_interpolants/matlab.os -c -std=c++11 -g -Wall -fPIC -DALTA_PLUGIN_DIRECTORY=\"/usr/local/lib/alta\" -Iexternal/build/include -Isources -I/usr/include/eigen3 -I/usr/include/flann -I/home/pac/MATLABR2016b/extern/include sources/plugins/data_interpolants/matlab.cpp
sources/plugins/data_interpolants/matlab.cpp: In constructor 'MatlabInterpolant::MatlabInterpolant()':
sources/plugins/data_interpolants/matlab.cpp:62:46: error: no matching function for call to 'alta::vertical_segment::vertical_segment()'
: _data( ptr<data>( new vertical_segment() ) ) // FIXME: size?
^
In file included from sources/plugins/data_interpolants/matlab.cpp:20:0:
sources/core/vertical_segment.h:102:7: note: candidate: alta::vertical_segment::vertical_segment(const alta::parameters&, unsigned int)
vertical_segment(const parameters& params, unsigned int size)
^
sources/core/vertical_segment.h:102:7: note: candidate expects 2 arguments, 0 provided
sources/core/vertical_segment.h:94:7: note: candidate: alta::vertical_segment::vertical_segment(const alta::parameters&, std::size_t, std::shared_ptr<double>, alta::vertical_segment::ci_kind)
vertical_segment(const parameters& params,
^
sources/core/vertical_segment.h:94:7: note: candidate expects 4 arguments, 0 provided
sources/core/vertical_segment.h:79:7: note: candidate: alta::vertical_segment::vertical_segment(const alta::vertical_segment&)
class vertical_segment : public data
^
sources/core/vertical_segment.h:79:7: note: candidate expects 1 argument, 0 provided
sources/core/vertical_segment.h:79:7: note: candidate: alta::vertical_segment::vertical_segment(alta::vertical_segment&&)
sources/core/vertical_segment.h:79:7: note: candidate expects 1 argument, 0 provided
sources/plugins/data_interpolants/matlab.cpp: In member function 'virtual vec MatlabInterpolant::value(const vec&) const':
sources/plugins/data_interpolants/matlab.cpp:159:29: error: 'dimY' was not declared in this scope
vec res = vec::Zero(dimY());
^
sources/plugins/data_interpolants/matlab.cpp:162:53: error: 'dimX' was not declared in this scope
memcpy((void *)mxGetPr(x), (void *)&ax[0], dimX()*sizeof(double));
^
scons: *** [build/sources/plugins/data_interpolants/matlab.os] Error 1
scons: building terminated because of errors.