Updated wrap unit tests
parent
6769850689
commit
cbbf62aeeb
|
@ -485,6 +485,7 @@ void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
||||||
|
|
||||||
int id = unwrap<int>(in[0]);
|
int id = unwrap<int>(in[0]);
|
||||||
|
|
||||||
|
try {
|
||||||
switch(id) {
|
switch(id) {
|
||||||
case 0:
|
case 0:
|
||||||
Point2_collectorInsertAndMakeBase_0(nargout, out, nargin-1, in+1);
|
Point2_collectorInsertAndMakeBase_0(nargout, out, nargin-1, in+1);
|
||||||
|
@ -610,6 +611,9 @@ void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
||||||
aGlobalFunction_40(nargout, out, nargin-1, in+1);
|
aGlobalFunction_40(nargout, out, nargin-1, in+1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} catch(const std::exception& e) {
|
||||||
|
mexErrMsgTxt(("Exception from gtsam:\n" + std::string(e.what()) + "\n").c_str());
|
||||||
|
}
|
||||||
|
|
||||||
std::cout.rdbuf(outbuf);
|
std::cout.rdbuf(outbuf);
|
||||||
}
|
}
|
||||||
|
|
|
@ -353,6 +353,7 @@ void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
||||||
|
|
||||||
int id = unwrap<int>(in[0]);
|
int id = unwrap<int>(in[0]);
|
||||||
|
|
||||||
|
try {
|
||||||
switch(id) {
|
switch(id) {
|
||||||
case 0:
|
case 0:
|
||||||
ns1ClassA_collectorInsertAndMakeBase_0(nargout, out, nargin-1, in+1);
|
ns1ClassA_collectorInsertAndMakeBase_0(nargout, out, nargin-1, in+1);
|
||||||
|
@ -427,6 +428,9 @@ void mexFunction(int nargout, mxArray *out[], int nargin, const mxArray *in[])
|
||||||
ns2aGlobalFunction_23(nargout, out, nargin-1, in+1);
|
ns2aGlobalFunction_23(nargout, out, nargin-1, in+1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} catch(const std::exception& e) {
|
||||||
|
mexErrMsgTxt(("Exception from gtsam:\n" + std::string(e.what()) + "\n").c_str());
|
||||||
|
}
|
||||||
|
|
||||||
std::cout.rdbuf(outbuf);
|
std::cout.rdbuf(outbuf);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue