aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-07-19 12:30:22 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-07-19 12:30:22 +0000
commitf16be3b5d7827b704afc17e7c63d708c8a2f5d83 (patch)
tree2ed195c287a890b8dbbfb3a07be1999f55e4d5f2
parent4615b56d1038483692a2d7eb6905309ff20990ef (diff)
fix wrong function name
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@230 f88db872-0e4f-0410-b76b-b9085cfa78c5
-rw-r--r--src/patch/Makefile6
-rw-r--r--src/patch/coords.cc2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/patch/Makefile b/src/patch/Makefile
index 544e979..289ca67 100644
--- a/src/patch/Makefile
+++ b/src/patch/Makefile
@@ -1,5 +1,5 @@
# Makefile for AHFinderDirect src/util library
-# $Id: Makefile,v 1.2 2001-06-17 17:23:10 jthorn Exp $
+# $Id: Makefile,v 1.3 2001-07-19 12:30:22 jthorn Exp $
#
# This Makefile can be called either as part of a Cactus build
# (in which case it expects the usual Cactus Makefile variables to be
@@ -84,7 +84,9 @@ $(LIB_CCFILES:.cc=.o) : %.o : %.cc
.PHONY : test
test : $(TEST_BINARIES)
-$(TEST_BINARIES): %: %.cc libahfutil.a ../libutil/libutil.a -lm
+$(TEST_BINARIES): %: %.cc libahfutil.a \
+ ../libinterp/libinterp.a ../libutil/libutil.a \
+ -lm
$(CXX) $(CXXFLAGS) -o $@ $^
.PHONY : clean
diff --git a/src/patch/coords.cc b/src/patch/coords.cc
index 5ef9415..6e887d9 100644
--- a/src/patch/coords.cc
+++ b/src/patch/coords.cc
@@ -271,7 +271,7 @@ r_theta_phi_of_xyz(x, y, z, r, ps_theta, ps_phi);
// Bugs: computes ps_phi via trig, even though it's trivially == phi
namespace local_coords
{
-void r_theta_phi_of_nu_phi(fp nu, fp phi, fp& ps_theta, fp& ps_phi)
+void theta_phi_of_nu_phi(fp nu, fp phi, fp& ps_theta, fp& ps_phi)
{
fp x, y, z;
xyz_of_r_nu_phi(1.0, nu, phi, x, y, z);