Nous avons procédé ce jeudi matin 08 avril 2021 à une MAJ de sécurité urgente. Nous sommes passé de la version 13.9.3 à la version 13.9.5 les releases notes correspondantes sont ici:
https://about.gitlab.com/releases/2021/03/17/security-release-gitlab-13-9-4-released/
https://about.gitlab.com/releases/2021/03/31/security-release-gitlab-13-10-1-released/

Commit 72aadd98 authored by Quentin Khan's avatar Quentin Khan

Fix rotate bug in fuseDistributions

parent 61b27cdf
......@@ -205,7 +205,7 @@ void rotate(Particle& p, const distribution& dist) {
}
// Rotate around z axis
if(dist.rot[2] > 1e-5 || dist.rot[2] < -1e-5) {
FReal alpha = dist.rot[1];
FReal alpha = dist.rot[2];
p.pos[0] = p.pos[0] * cos(alpha) - p.pos[1] * sin(alpha);
p.pos[1] = p.pos[0] * sin(alpha) + p.pos[1] * cos(alpha);
}
......
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