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 | 92 | void read(const GFits& fits); |
| 93 | 93 | void write(GFits& file) const; |
| 94 | 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 | 96 | const std::string& filename(void) const; |
| 97 | 97 | std::string print(const GChatter& chatter = NORMAL) const; |
| 98 | 98 | ... | ... |
inst/cta/pyext/GCTACubePsf.i
| ... | ... | @@ -84,7 +84,7 @@ public: |
| 84 | 84 | void read(const GFits& fits); |
| 85 | 85 | void write(GFits& file) const; |
| 86 | 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 | 88 | const std::string& filename(void) const; |
| 89 | 89 | }; |
| 90 | 90 | ... | ... |