X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fmatrix.h;h=4ad11ea8108592b3a72fee3df5bbabcd670ee71c;hp=769647cacdeede3685ec276e804e774c814783b0;hb=afdd7fa8c6c0a587f7c80789198551383e8beb7b;hpb=48b41ea321ed9fa6115a1061d1a1d2f8d8ad0400 diff --git a/ginac/matrix.h b/ginac/matrix.h index 769647ca..4ad11ea8 100644 --- a/ginac/matrix.h +++ b/ginac/matrix.h @@ -27,7 +27,9 @@ #include #include +#ifndef NO_GINAC_NAMESPACE namespace GiNaC { +#endif // ndef NO_GINAC_NAMESPACE /** Symbolic matrices. */ class matrix : public basic @@ -152,6 +154,8 @@ inline const matrix &ex_to_matrix(const ex &e) return static_cast(*e.bp); } +#ifndef NO_GINAC_NAMESPACE } // namespace GiNaC +#endif // ndef NO_GINAC_NAMESPACE #endif // ndef __GINAC_MATRIX_H__