Commit b2d08045 authored by Armin Erraji's avatar Armin Erraji

Bugfix: added minus sign.

parent bbb70190
......@@ -147,7 +147,7 @@ bool ITAPropagationPathSim::CombinatedModel::Diffraction::ConstructAperturePoint
}
for (int i = 0; i < vfE_square.size() - 1; i++)
{
b.push_back(vpE_out[i]->Dot(*vpE_in[i + 1] / vfDirectionVectorLength[i + 1]));
b.push_back(-vpE_out[i]->Dot(*vpE_in[i + 1] / vfDirectionVectorLength[i + 1]));
}
//To get vfRelativeApexPosition, the Gaussian-elimination is used to delete
......
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