fix in serializer, wrong cast
Merge branch 'master' of https://github.com/libigl/libigl