diff --git a/miscmaths.cc b/miscmaths.cc index 53ee0b5953bb17803caf67bbd61d7440e091e06d..e6f023751f9650f37ea72d67cab87910b9768dd5 100644 --- a/miscmaths.cc +++ b/miscmaths.cc @@ -1669,7 +1669,7 @@ ReturnMatrix read_vest(string p_fname) return p_mat; } -void OLS(const Matrix& data,const Matrix& des,const Matrix& tc, Matrix& cope,Matrix& varcope){ +void ols(const Matrix& data,const Matrix& des,const Matrix& tc, Matrix& cope,Matrix& varcope){ // ols // data is t x v // des is t x ev (design matrix) diff --git a/miscmaths.h b/miscmaths.h index a75c198e337a13bb4355192df93a2a67c7f5ad1d..123d4ba167fb80ab4ee19ec0edb134ee8968664e 100644 --- a/miscmaths.h +++ b/miscmaths.h @@ -202,7 +202,7 @@ namespace MISCMATHS { // tc is cons x ev (contrast matrix) // cope and varcope will be cons x v // but will be resized if they are wrong - void OLS(const Matrix& data,const Matrix& des,const Matrix& tc, Matrix& cope,Matrix& varcope); + void ols(const Matrix& data,const Matrix& des,const Matrix& tc, Matrix& cope,Matrix& varcope); int ols_dof(const Matrix& des);