Commit dabfe1cb2b87465cdf024350a2885f0152a95387
1 parent
8ede43dc
Added clobber=false default argument for GCTACubePsf
Showing
2 changed files
with
2 additions
and
2 deletions
inst/cta/include/GCTACubePsf.hpp
| @@ -92,7 +92,7 @@ public: | @@ -92,7 +92,7 @@ public: | ||
| 92 | void read(const GFits& fits); | 92 | void read(const GFits& fits); |
| 93 | void write(GFits& file) const; | 93 | void write(GFits& file) const; |
| 94 | void load(const std::string& filename); | 94 | void load(const std::string& filename); |
| 95 | - void save(const std::string& filename, const bool& clobber) const; | 95 | + void save(const std::string& filename, const bool& clobber = false) const; |
| 96 | const std::string& filename(void) const; | 96 | const std::string& filename(void) const; |
| 97 | std::string print(const GChatter& chatter = NORMAL) const; | 97 | std::string print(const GChatter& chatter = NORMAL) const; |
| 98 | 98 |
inst/cta/pyext/GCTACubePsf.i
| @@ -84,7 +84,7 @@ public: | @@ -84,7 +84,7 @@ public: | ||
| 84 | void read(const GFits& fits); | 84 | void read(const GFits& fits); |
| 85 | void write(GFits& file) const; | 85 | void write(GFits& file) const; |
| 86 | void load(const std::string& filename); | 86 | void load(const std::string& filename); |
| 87 | - void save(const std::string& filename, const bool& clobber) const; | 87 | + void save(const std::string& filename, const bool& clobber = false) const; |
| 88 | const std::string& filename(void) const; | 88 | const std::string& filename(void) const; |
| 89 | }; | 89 | }; |
| 90 | 90 |