clean up getScaling for complex
make clang a bit happier