Fix Utility.compactArrays type error
Merge pull request #182 from jfols/master

Fix Utility.compactArrays type error