From 12d2acb8f8ea39da448c94754a708c0dd4369c34 Mon Sep 17 00:00:00 2001 From: Peter Carbonetto Date: Thu, 4 May 2017 15:17:47 -0500 Subject: Fixed problems with duplicate symbols; now using static gsl libraries in Makefile.osx so that others don't have to download it using Homebrew. --- src/lmm.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/lmm.cpp') diff --git a/src/lmm.cpp b/src/lmm.cpp index 044f33c..a707534 100644 --- a/src/lmm.cpp +++ b/src/lmm.cpp @@ -183,30 +183,6 @@ void LMM::WriteFiles () return; } - - - - - - - - - - -//map a number 1-(n_cvt+2) to an index between 0 and [(n_c+2)^2+(n_c+2)]/2-1 -size_t GetabIndex (const size_t a, const size_t b, const size_t n_cvt) { - if (a>n_cvt+2 || b>n_cvt+2 || a<=0 || b<=0) {cout<<"error in GetabIndex."<a) {l=a; h=b;} else {l=b; h=a;} - - size_t n=n_cvt+2; - index=(2*n-l+2)*(l-1)/2+h-l; - - return index; -} - - void CalcPab (const size_t n_cvt, const size_t e_mode, const gsl_vector *Hi_eval, const gsl_matrix *Uab, const gsl_vector *ab, gsl_matrix *Pab) { size_t index_ab, index_aw, index_bw, index_ww; -- cgit v1.2.3