@@ -46,7 +46,7 @@ int phypp_main(int argc, char* argv[]) {
4646 }
4747
4848 read_args (argc, argv, arg_list (
49- name (tseed, " seed" ), out, name (psf_file, " psf" ), name (astrometry, " astro" ), aspix, rms,
49+ name (tseed, " seed" ), out, name (psf_file, " psf" ), name (astrometry, " astro" ), aspix, rms,
5050 beam_smoothed, smooth_fwhm, list_psfs, verbose, make_err, make_cov, clip_borders, save_dist,
5151 name (cat_file, " cat" ), name (tdouble, " double" )
5252 ));
@@ -82,7 +82,7 @@ int phypp_main(int argc, char* argv[]) {
8282 file::mkdir (file::get_directory (out));
8383
8484 std::string out_base = file::remove_extension (out);
85- if (end_with (out_base, " -noise" )) {
85+ if (ends_with (out_base, " -noise" )) {
8686 out_base = erase_end (out_base, " -noise" );
8787 }
8888
@@ -92,7 +92,7 @@ int phypp_main(int argc, char* argv[]) {
9292 vec1d ra, dec;
9393 } cat;
9494
95- if (end_with (cat_file, " .fits" )) {
95+ if (ends_with (cat_file, " .fits" )) {
9696 fits::read_table (cat_file, ftable (cat.ra , cat.dec ));
9797 } else {
9898 ascii::read_table (cat_file, ascii::find_skip (cat_file), cat.ra , cat.dec );
0 commit comments