mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
Update include/openmc/position.h
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
1bdc9ca877
commit
ebca9a489d
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ struct Position {
|
|||
const double projection = n.dot(*this);
|
||||
const double magnitude = n.dot(n);
|
||||
n *= (2.0 * projection / magnitude);
|
||||
return *this -= n;
|
||||
return *this - n;
|
||||
}
|
||||
|
||||
//! Rotate the position based on a rotation matrix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue