Duplicate array key

.Inf is being declared twice, the latter overwrites the former. (See four lines below)