gustafn
committed
on 08 Nov 18
simplfy index expressions, strengthen input value checking