pcarbo / varbvs

Large-scale Bayesian variable selection for R and MATLAB.
http://pcarbo.github.io/varbvs
GNU General Public License v3.0
42 stars 14 forks source link

Check for SINGLE matrix in .cpp files #2

Closed pcarbo closed 12 years ago

pcarbo commented 12 years ago

The function mxIsSingle does not work. I should use mxGetClassID(ptr) == mxSINGLE_CLASS instead.

pcarbo commented 12 years ago

Fixed this.