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 c9a08d85 authored by BRAMAS Berenger's avatar BRAMAS Berenger

Remove a -- in spherical kernel

parent a95cc450
......@@ -853,9 +853,9 @@ public:
*/
void directInteractionMutual(ParticleClass*const FRestrict target, ParticleClass*const FRestrict source){
FReal dx = -(target->getPosition().getX() - source->getPosition().getX());
FReal dy = -(target->getPosition().getY() - source->getPosition().getY());
FReal dz = -(target->getPosition().getZ() - source->getPosition().getZ());
FReal dx = source->getPosition().getX() - target->getPosition().getX();
FReal dy = source->getPosition().getY() - target->getPosition().getY();
FReal dz = source->getPosition().getZ() - target->getPosition().getZ();
FReal inv_square_distance = FReal(1.0) / (dx*dx + dy*dy + dz*dz);
FReal inv_distance = FMath::Sqrt(inv_square_distance);
......@@ -880,9 +880,9 @@ public:
*/
void directInteraction(ParticleClass*const FRestrict target, const ParticleClass& source){
FReal dx = -(target->getPosition().getX() - source.getPosition().getX());
FReal dy = -(target->getPosition().getY() - source.getPosition().getY());
FReal dz = -(target->getPosition().getZ() - source.getPosition().getZ());
FReal dx = source.getPosition().getX() - target->getPosition().getX();
FReal dy = source.getPosition().getY() - target->getPosition().getY();
FReal dz = source.getPosition().getZ() - target->getPosition().getZ();
FReal inv_square_distance = FReal(1.0) / (dx*dx + dy*dy + dz*dz);
FReal inv_distance = FMath::Sqrt(inv_square_distance);
......
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