Bugfix localInnerProductReal