Commit 255ba962 authored by Christoph Junghans's avatar Christoph Junghans

fixed a bug in csg_stat norm

parent dbd789ff
Pipeline #91073270 failed with stages
in 7 minutes and 40 seconds
......@@ -142,7 +142,7 @@ void Imc::BeginEvaluate(Topology *top, Topology *top_atom) {
// calculate normalization factor for rdf
if (prop->get("type1").value() == prop->get("type2").value()) {
i._norm = 1. / (double)(beads1.size() * beads2.size()) / 2.;
i._norm = 2. / (double)(beads1.size() * beads2.size());
} else {
i._norm = 1. / (double)(beads1.size() * beads2.size());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment