Implement invert PUL
Fix build
Merge pull request #8 from wcandillon/invert

Implement invert PUL