Fix lp-norm for integer vectors
Merge pull request #1877 from andreasnoackjensen/fixintnorm

Fix lp-norm for integer vectors