X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fcolor.h;h=e5baa85661c769510295677196cd8937ce8ee9f8;hp=c5c57c5598942080a6f467b4ead100d17c166558;hb=16b43efe2cf6d595ea589477b07da3363d7b98c9;hpb=61b8ecb02c8212efbc15f59face8a9c620dc823c diff --git a/ginac/color.h b/ginac/color.h index c5c57c55..e5baa856 100644 --- a/ginac/color.h +++ b/ginac/color.h @@ -71,7 +71,7 @@ class su3one : public tensor // functions overriding virtual functions from bases classes public: - void print(std::ostream & os, unsigned upper_precedence=0) const; + void print(const print_context & c, unsigned level = 0) const; }; /** This class represents an su(3) generator. */ @@ -81,7 +81,7 @@ class su3t : public tensor // functions overriding virtual functions from bases classes public: - void print(std::ostream & os, unsigned upper_precedence=0) const; + void print(const print_context & c, unsigned level = 0) const; }; /** This class represents the tensor of antisymmetric su(3) structure @@ -92,7 +92,7 @@ class su3f : public tensor // functions overriding virtual functions from bases classes public: - void print(std::ostream & os, unsigned upper_precedence=0) const; + void print(const print_context & c, unsigned level = 0) const; ex eval_indexed(const basic & i) const; bool contract_with(exvector::iterator self, exvector::iterator other, exvector & v) const; }; @@ -104,7 +104,7 @@ class su3d : public tensor // functions overriding virtual functions from bases classes public: - void print(std::ostream & os, unsigned upper_precedence=0) const; + void print(const print_context & c, unsigned level = 0) const; ex eval_indexed(const basic & i) const; bool contract_with(exvector::iterator self, exvector::iterator other, exvector & v) const; };