Fixed definition of neff (resampling threshold).

rm-particles^2
Frédéric Karamé 2014-11-14 17:12:45 +01:00
parent ddd006ffc3
commit bf9e0490ae
1 changed files with 1 additions and 1 deletions

View File

@ -18,4 +18,4 @@ function n = neff(w)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
n = dot(w,w);
n = 1/dot(w,w);