diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2022-10-19 17:27:59 +0200 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2022-10-19 17:27:59 +0200 |
commit | e4d86723227dc3694bf502dfd492e8c2b1887c2c (patch) | |
tree | fa114525f8a24caad2425c3753c440e7520085e4 /order.cpp | |
parent | 6308773c0b6b745d49d20dc2afd6ab7ec63cb996 (diff) | |
download | code-master.tar.gz code-master.tar.bz2 code-master.zip |
Diffstat (limited to 'order.cpp')
-rw-r--r-- | order.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ int main(int argc, char* argv[]) { for (unsigned i = 0; i < G.edges.size(); i++) { const AztecDiamond::Edge& e = G.edges[i]; const AztecDiamond::Vertex& vt = *e.tail; - const AztecDiamond::Vertex& vh = *e.head; + const AztecDiamond::Vertex& vh = *e.head; data_x[vt.index] += avgProbabilities[i] * (vt.coordinate[0] - vh.coordinate[0]); data_y[vt.index] += avgProbabilities[i] * (vt.coordinate[1] - vh.coordinate[1]); data_x[vh.index] += avgProbabilities[i] * (vt.coordinate[0] - vh.coordinate[0]); |