fix schroedinger solver