Only add 1.0f if there is a separator

Fixes #2.