replace mex.h with dynmex.h
parent
59f53bc8ea
commit
4ac3a6c5a4
|
@ -27,7 +27,7 @@
|
|||
#include "LogPosteriorDensity.hh"
|
||||
#include "RandomWalkMetropolisHastings.hh"
|
||||
|
||||
#include "mex.h"
|
||||
#include <dynmex.h>
|
||||
#if defined MATLAB_MEX_FILE
|
||||
# include "mat.h"
|
||||
#else // OCTAVE_MEX_FILE e.t.c.
|
||||
|
|
|
@ -26,8 +26,7 @@
|
|||
#include "Matrix.hh"
|
||||
#include "LogPosteriorDensity.hh"
|
||||
|
||||
#include "dynmex.h"
|
||||
#include "mex.h"
|
||||
#include <dynmex.h>
|
||||
|
||||
class LogposteriorMexErrMsgTxtException
|
||||
{
|
||||
|
@ -155,7 +154,7 @@ logposterior(const VectorConstView &estParams, const MatrixConstView &data,
|
|||
std::bind2nd(std::minus<size_t>(), 1));
|
||||
|
||||
if (data.getRows() != n_varobs)
|
||||
throw LogposteriorMexErrMsgTxtException("Data has not as many rows as there are observed variables");
|
||||
throw LogposteriorMexErrMsgTxtException("Data does not have as many rows as there are observed variables");
|
||||
|
||||
std::vector<EstimationSubsample> estSubsamples;
|
||||
estSubsamples.push_back(EstimationSubsample(0, data.getCols() - 1));
|
||||
|
|
Loading…
Reference in New Issue