Skip to content

Commit b9cd604

Browse files
authored
typo
1 parent 6866e07 commit b9cd604

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/source_hamilt/module_poisson/parabolic_correction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ double ParabolicCorrection::calc_energy_correction(const UnitCell& cell,
281281

282282
// V_corr at atom position
283283
double v_at_atom = factor * ( -0.5 * net_charge * dist_bohr * dist_bohr
284-
+ total_dipole * dist_bohr ) + v_const;
284+
- total_dipole * dist_bohr ) + v_const;
285285

286286
e_corr += Z * v_at_atom;
287287
}

0 commit comments

Comments
 (0)