timeName correction

This commit is contained in:
hamidrezanorouzi
2023-03-17 16:35:57 +03:30
parent f1052acc39
commit 473dbd4497
7 changed files with 19 additions and 8 deletions

View File

@ -95,7 +95,7 @@ public:
realx3 transferPoint(const realx3& p, real dt)
{
if(!inTimeRange()) return p;
return p + 0.5*dt*(velocity0_+velocity_);
return p + static_cast<real>(0.5)*dt*(velocity0_+velocity_);
}
// - IO operation