diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-07-23 10:28:30 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-07-23 10:28:30 +0200 |
commit | 8ad50ae962fea404c4ea7d74b59a51e25400c249 (patch) | |
tree | 9fd2daced6f86d1fc14afbdea8c83fe7463a947c | |
parent | d9b861b455da92d0faa1ee90d23acd3e305bc175 (diff) |
eval: fix evaluating undifferentiated ψ in cylindrical coordinates
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ static int eval_psi_cylindric(const BDContext *bd, double *basis_val_rho = NULL, *basis_val_z = NULL; - double add = 0.0; + double add = (diff_order[0] || diff_order[1]) ? 0.0 : 1.0; int ret = 0; |