diff --git a/inst/cta/include/GCTACubePsf.hpp b/inst/cta/include/GCTACubePsf.hpp index dc14c1a..59a989c 100644 --- a/inst/cta/include/GCTACubePsf.hpp +++ b/inst/cta/include/GCTACubePsf.hpp @@ -92,7 +92,7 @@ public: void read(const GFits& fits); void write(GFits& file) const; void load(const std::string& filename); - void save(const std::string& filename, const bool& clobber) const; + void save(const std::string& filename, const bool& clobber = false) const; const std::string& filename(void) const; std::string print(const GChatter& chatter = NORMAL) const; diff --git a/inst/cta/pyext/GCTACubePsf.i b/inst/cta/pyext/GCTACubePsf.i index 5ed52ba..9ead09d 100644 --- a/inst/cta/pyext/GCTACubePsf.i +++ b/inst/cta/pyext/GCTACubePsf.i @@ -84,7 +84,7 @@ public: void read(const GFits& fits); void write(GFits& file) const; void load(const std::string& filename); - void save(const std::string& filename, const bool& clobber) const; + void save(const std::string& filename, const bool& clobber = false) const; const std::string& filename(void) const; };