diff --git a/hoomd/md/EvaluatorPairDipole.h b/hoomd/md/EvaluatorPairDipole.h index 37ab4c0306..1cc5139971 100644 --- a/hoomd/md/EvaluatorPairDipole.h +++ b/hoomd/md/EvaluatorPairDipole.h @@ -233,7 +233,7 @@ class EvaluatorPairDipole bool dipole_i_interactions = (mu_i != vec3(0, 0, 0)); bool dipole_j_interactions = (mu_j != vec3(0, 0, 0)); - bool dipole_interactions = dipole_j_interactions && dipole_j_interactions; + bool dipole_interactions = dipole_i_interactions && dipole_j_interactions; // dipole-dipole if (dipole_interactions) {