default parameter for fourindex::permuteme
This commit is contained in:
parent
5e08e42387
commit
10c70e5c51
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user