BUG: lagrangian - corrected references to position()

This commit is contained in:
Andrew Heather
2017-12-19 21:25:12 +00:00
parent e97275cf12
commit bd181f9a6c
9 changed files with 16 additions and 16 deletions

View File

@ -283,7 +283,7 @@ int main(int argc, char *argv[])
forAll(ids, j)
{
const label localId = particleIds[j];
const vector& pos = particles[localId].position();
const vector pos(particles[localId].position());
os << pos.x() << ' ' << pos.y() << ' ' << pos.z()
<< nl;
}