QMCPACK / miniqmc

QMCPACK miniapp: a simplified real space QMC code for algorithm development, performance portability testing, and computer science experiments
Other
27 stars 35 forks source link

Add return statement to satisfy compiler. #142

Closed markdewing closed 6 years ago

markdewing commented 6 years ago

The code should be unreachable because all the cases are handled in the switch statement. But some compilers complain about no return statement.

The corresponding function in the main QMCPACK code already has this return statement.