replace mex.h with dynmex.h

time-shift
Houtan Bastani 2011-02-11 11:07:50 +01:00
parent 59f53bc8ea
commit 4ac3a6c5a4
2 changed files with 3 additions and 4 deletions

View File

@ -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.

View File

@ -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));