default parameter for fourindex::permuteme

This commit is contained in:
Jiri Pittner 2021-06-25 14:38:29 +02:00
parent 5e08e42387
commit 10c70e5c51

View File

@ -284,7 +284,7 @@ public:
unsigned long get(int fd,bool withattr=true); unsigned long get(int fd,bool withattr=true);
void fscanf(FILE *f); //C-style formatted IO void fscanf(FILE *f); //C-style formatted IO
void fprintf(FILE *f, char *format) const; void fprintf(FILE *f, char *format) const;
void permuteme(const NRPerm<int> &p, const bool inverse)// index permutation void permuteme(const NRPerm<int> &p, const bool inverse=false)// index permutation
{ {
if(p.size()!=nn) laerror("inconsistent dimension in fourindex::permuteme"); if(p.size()!=nn) laerror("inconsistent dimension in fourindex::permuteme");
copyonwrite(); copyonwrite();