[gyoto] 02/03: Correct also the generic implementation of circularVelocity()
Thibaut Jean-Claude Paumard
thibaut at moszumanska.debian.org
Fri Sep 19 12:50:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
thibaut pushed a commit to annotated tag upstream/0.2.2
in repository gyoto.
commit 44a8a2536af0e51e50831c8f151432d9f83fe24f
Author: Thibaut Paumard <paumard at users.sourceforge.net>
Date: Tue Sep 9 11:22:24 2014 +0200
Correct also the generic implementation of circularVelocity()
Conflicts:
lib/PolishDoughnut.C
---
lib/Metric.C | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Metric.C b/lib/Metric.C
index 70fbd05..80d5404 100644
--- a/lib/Metric.C
+++ b/lib/Metric.C
@@ -329,7 +329,7 @@ void Metric::Generic::circularVelocity(double const * coor, double* vel,
double coord[4] = {coor[0], coor[1]*sinth, M_PI*0.5, coor[3]};
vel[1] = vel[2] = 0.;
- vel[3] = 1./(dir*pow(coord[1], 1.5)*sinth);
+ vel[3] = 1./(dir*pow(coord[1], 1.5));
vel[0] = SysPrimeToTdot(coor, vel+1);
vel[3] *= vel[0];
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gyoto.git
More information about the debian-science-commits
mailing list