X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fcolor.cpp;h=9a0d353460d87de519f2dc2fca362f3fa0669a9f;hp=891d55c1f9d309cc223c8996c3d4585263c57219;hb=cd0f12f5ce6023812f76d0f6eb40ee83078c2775;hpb=163bdedf89a1796d181bbed44cd18600760e3504;ds=sidebyside diff --git a/ginac/color.cpp b/ginac/color.cpp index 891d55c1..9a0d3534 100644 --- a/ginac/color.cpp +++ b/ginac/color.cpp @@ -195,7 +195,7 @@ ex color::thiscontainer(std::auto_ptr vp) const * * @param iv3 Vector of 3 indices * @param iv2 Vector of 2 indices, must be a subset of iv3 - * @param sig Returs sign introduced by index permutation + * @param sig Returns sign introduced by index permutation * @return the free index (the one that is in iv3 but not in iv2) */ static ex permute_free_index_to_front(const exvector & iv3, const exvector & iv2, int & sig) { @@ -314,7 +314,7 @@ bool su3t::contract_with(exvector::iterator self, exvector::iterator other, exve if (is_exactly_a(other->op(0))) { - // Contraction only makes sense if the represenation labels are equal + // Contraction only makes sense if the representation labels are equal GINAC_ASSERT(is_a(*other)); if (ex_to(*other).get_representation_label() != rl) return false;