Fix wrong resize() usage for Eigen::Array.
Merge pull request #246 from atgeirr/fix-test

Fix wrong resize() usage for Eigen::Array.