Here, the parens aren't necessary, and the error message refers to the local variable name `n_dim`.