diff options
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]); |