Changeset 3907
- Timestamp:
- May 9, 2020, 5:14:49 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r3893 r3907 4 4 5 5 version 0.18 (released NOT YET) 6 - yat now requires GSL 1.8 or later (ticket #945) 6 7 - Building against libbam is no longer supported (ticket #939) 7 8 - configure option --withoyr-samtools is no longer supported; use -
trunk/README
r3883 r3907 65 65 66 66 GNU Scientific Library, [http://www.gnu.org/software/gsl/ GSL] version 67 1. 8or later. If you have GSL installed in a non-standard location,67 1.13 or later. If you have GSL installed in a non-standard location, 68 68 `./configure --with-gsl=DIR` can be useful to provide the location of 69 69 GSL. The `gsl-config` script, which is used to retrieve needed -
trunk/configure.ac
r3900 r3907 273 273 274 274 # GNU Scientific Library, GSL http://www.gnu.org/software/gsl/, checks 275 m4_define([YAT_REQUIRED_GSL_VERSION], [1. 8])275 m4_define([YAT_REQUIRED_GSL_VERSION], [1.13]) 276 276 YAT_CHECK_GSL([YAT_REQUIRED_GSL_VERSION], [], 277 277 [AC_MSG_FAILURE([dnl -
trunk/yat/regression/MultiDimensional.cc
r2919 r3907 45 45 MultiDimensional::~MultiDimensional(void) 46 46 { 47 if (work_) 48 gsl_multifit_linear_free(work_); 47 gsl_multifit_linear_free(work_); 49 48 } 50 49 … … 62 61 covariance_.resize(x.columns(),x.columns()); 63 62 fit_parameters_.resize(x.columns()); 64 if (work_) 65 gsl_multifit_linear_free(work_); 63 gsl_multifit_linear_free(work_); 66 64 if (!(work_=gsl_multifit_linear_alloc(x.rows(),fit_parameters_.size()))) 67 65 throw utility::GSL_error("MultiDimensional::fit failed to allocate memory"); -
trunk/yat/regression/MultiDimensionalWeighted.cc
r2919 r3907 41 41 MultiDimensionalWeighted::~MultiDimensionalWeighted(void) 42 42 { 43 if (work_) 44 gsl_multifit_linear_free(work_); 43 gsl_multifit_linear_free(work_); 45 44 } 46 45 … … 60 59 61 60 covariance_.resize(x.columns(),x.columns()); 62 fit_parameters_ = utility::Vector(x.columns()); 63 if (work_) 64 gsl_multifit_linear_free(work_); 61 fit_parameters_.resize(x.columns()); 62 gsl_multifit_linear_free(work_); 65 63 if (!(work_=gsl_multifit_linear_alloc(x.rows(),fit_parameters_.size()))) 66 64 throw utility::GSL_error("MultiDimensionalWeighted::fit failed to allocate memory"); -
trunk/yat/utility/BasicMatrix.cc
r3652 r3907 94 94 void deallocate(gsl_matrix*& p) 95 95 { 96 if (p) { // needed for older GSL 97 gsl_matrix_free(p); 98 p = NULL; 99 } 96 gsl_matrix_free(p); 97 p = NULL; 100 98 } 101 99 -
trunk/yat/utility/Vector.cc
r3845 r3907 177 177 void Vector::delete_allocated_memory(void) 178 178 { 179 if (vec_) 180 gsl_vector_free(vec_); 179 gsl_vector_free(vec_); 181 180 const_vec_ = vec_ = NULL; 182 181 } -
trunk/yat/utility/VectorExpression.h
r3606 r3907 148 148 void delete_allocated_memory(void) 149 149 { 150 if (v_) 151 gsl_vector_free(v_); 150 gsl_vector_free(v_); 152 151 v_ = NULL; 153 152 }
Note: See TracChangeset
for help on using the changeset viewer.