menpo/menpo — pull request #507 by jabooth (2014-11-09 15:04:43+00:00)
Title: fix rounding issue in n_components

Unfortunately I can't remember the details of where this bug arrises, but the `int()` cast in this PR fixes a serialisation bug in PCA. Secondly, I move `_n_components` to `_n_active_components` which is clearer in it's meaning.