diff --git a/meson.build b/meson.build index f58d337ba95f9355d458bb727e17a116938983c1..877b3e31e32e443de68c3248bbd8e088221833a4 100644 --- a/meson.build +++ b/meson.build @@ -202,7 +202,8 @@ endif ############################################################ # dependencies that have pkg-config -libgsl_dep = dependency('gsl') +libgsl_dep = compiler.find_library('gsl',required: true) + ############################################################ # dependencies that usually have no pkg-config @@ -315,8 +316,9 @@ foreach idir : [ '/usr/local/include', ] inc_arg = idir + _Inc_arg = '-I' + idir if not found and compiler.has_header('gsl/gsl_blas.h', - args: inc_arg) + args: _Inc_arg) my_incdirs += [inc_arg] found = true endif diff --git a/src/disc/disc_new_zone_list.c b/src/disc/disc_new_zone_list.c index 482f0ad58d66e2f896ee80b1c4296058f33d9e4e..097d11f43f3559019ceee5c352261da2c0640ca4 100644 --- a/src/disc/disc_new_zone_list.c +++ b/src/disc/disc_new_zone_list.c @@ -9,7 +9,7 @@ Boolean disc_new_zone_list(struct disc_t * const disc, * * The prefactors and exponents are defined in disc_thermal_zones.h * - * Returns FALSE on failure, TRUE otherwise. + * Returns FALSE on failure, TRUE on success. * * The parameter Tvisc0, which determines sigma0, hence the * mass scaling, determines the profile of temperature in the disc.