X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fmatrix.cpp;h=97b473628464e498a233c691e2d0b724f34e7491;hb=5f00c012381b3671df5a9fbfeec2d36af0f75b61;hp=9bcab8bd21a66c8dca0b8b6ea5e8de8c24b7c679;hpb=b810b012f15981b0937fca5385a8fa2428180a6e;p=ginac.git diff --git a/ginac/matrix.cpp b/ginac/matrix.cpp index 9bcab8bd..97b47362 100644 --- a/ginac/matrix.cpp +++ b/ginac/matrix.cpp @@ -28,9 +28,9 @@ #include "utils.h" #include "debugmsg.h" -#ifndef NO_GINAC_NAMESPACE +#ifndef NO_NAMESPACE_GINAC namespace GiNaC { -#endif // ndef NO_GINAC_NAMESPACE +#endif // ndef NO_NAMESPACE_GINAC GINAC_IMPLEMENT_REGISTERED_CLASS(matrix, basic) @@ -463,7 +463,7 @@ ex determinant_numeric(const matrix & M) // Compute the sign of a permutation of a vector of things, used internally // by determinant_symbolic_perm() where it is instantiated for int. -template +template int permutation_sign(vector s) { if (s.size() < 2) @@ -959,6 +959,6 @@ int matrix::pivot(unsigned ro) const matrix some_matrix; const type_info & typeid_matrix=typeid(some_matrix); -#ifndef NO_GINAC_NAMESPACE +#ifndef NO_NAMESPACE_GINAC } // namespace GiNaC -#endif // ndef NO_GINAC_NAMESPACE +#endif // ndef NO_NAMESPACE_GINAC