Why are there allocations in my loop depending upon how I set a variable?

Hmm, not convinced. dt is used inside the loop, and its type is known.