Bug fix: double*var, not var*double