From e45f9fca76b81e01ffa5edc417c29538fa05147b Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Wed, 23 Jan 2013 09:19:26 +0100 Subject: [PATCH] Add symbol::set_TeX_name(string) member function. This allows setting a symbol's TeX-name after construction. --- ginac/symbol.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ginac/symbol.h b/ginac/symbol.h index 6036318f..519980f8 100644 --- a/ginac/symbol.h +++ b/ginac/symbol.h @@ -69,6 +69,7 @@ protected: // non-virtual functions in this class public: void set_name(const std::string & n) { name = n; } + void set_TeX_name(const std::string & n) { TeX_name = n; } std::string get_name() const; virtual unsigned get_domain() const { return domain::complex; } protected: -- 2.44.0