From 4ac3a6c5a4b99406257d16336cb309be6a11c717 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Fri, 11 Feb 2011 11:07:50 +0100 Subject: [PATCH] replace mex.h with dynmex.h --- mex/sources/estimation/logMHMCMCposterior.cc | 2 +- mex/sources/estimation/logposterior.cc | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mex/sources/estimation/logMHMCMCposterior.cc b/mex/sources/estimation/logMHMCMCposterior.cc index 91d504956..249139972 100644 --- a/mex/sources/estimation/logMHMCMCposterior.cc +++ b/mex/sources/estimation/logMHMCMCposterior.cc @@ -27,7 +27,7 @@ #include "LogPosteriorDensity.hh" #include "RandomWalkMetropolisHastings.hh" -#include "mex.h" +#include #if defined MATLAB_MEX_FILE # include "mat.h" #else // OCTAVE_MEX_FILE e.t.c. diff --git a/mex/sources/estimation/logposterior.cc b/mex/sources/estimation/logposterior.cc index 8f12349ad..7205e0692 100644 --- a/mex/sources/estimation/logposterior.cc +++ b/mex/sources/estimation/logposterior.cc @@ -26,8 +26,7 @@ #include "Matrix.hh" #include "LogPosteriorDensity.hh" -#include "dynmex.h" -#include "mex.h" +#include class LogposteriorMexErrMsgTxtException { @@ -155,7 +154,7 @@ logposterior(const VectorConstView &estParams, const MatrixConstView &data, std::bind2nd(std::minus(), 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 estSubsamples; estSubsamples.push_back(EstimationSubsample(0, data.getCols() - 1));