probml / pmtk3

Probabilistic Modeling Toolkit for Matlab/Octave.
MIT License
1.55k stars 797 forks source link

Changed initPmtk3.m to pass ~ instead of no value #96

Closed mike-u closed 8 years ago

mike-u commented 8 years ago

for destnRoot and quiet vars. I was not able to reproduce the bug in #95 on OS X, but this is what allowed it to work for Windows 7 and Matlab 2014b on my other machine. This may not be the cleanest solution however. I believe this should fix #95.

texastony commented 8 years ago

On Mac OS X, MATLAB R2015b, I am having the same error. I have tried both:

downloadAllSupport(~,~);

and

downloadAllSupport;

Matlab refuses to accept the first as a valid command, saying that this use is not permitted in this context. In this second case, I get the already reported error of 'destinRoot' failing to evaluate...

texastony commented 8 years ago

I changed it to:

downloadAllSupport( [], [] )

As suggested in later bug report and that worked just fine.

mike-u commented 8 years ago

Cool, let's merge that then