From d55314ec284f24063e949c5c3f3ee57011ddb283 Mon Sep 17 00:00:00 2001 From: "Vladimir V. Kisil" Date: Mon, 18 Aug 2014 21:29:01 +0100 Subject: [PATCH] Providing default (un)archiving for cliffordunit class. Signed-off-by: Vladimir V. Kisil --- ginac/clifford.cpp | 1 + ginac/clifford.h | 1 + 2 files changed, 2 insertions(+) diff --git a/ginac/clifford.cpp b/ginac/clifford.cpp index 5b937c43..5cc947a0 100644 --- a/ginac/clifford.cpp +++ b/ginac/clifford.cpp @@ -142,6 +142,7 @@ void clifford::archive(archive_node & n) const } GINAC_BIND_UNARCHIVER(clifford); +GINAC_BIND_UNARCHIVER(cliffordunit); GINAC_BIND_UNARCHIVER(diracone); GINAC_BIND_UNARCHIVER(diracgamma); GINAC_BIND_UNARCHIVER(diracgamma5); diff --git a/ginac/clifford.h b/ginac/clifford.h index 81e49b01..7aa05c48 100644 --- a/ginac/clifford.h +++ b/ginac/clifford.h @@ -113,6 +113,7 @@ protected: void do_print(const print_context & c, unsigned level) const; void do_print_latex(const print_latex & c, unsigned level) const; }; +GINAC_DECLARE_UNARCHIVER(cliffordunit); /** This class represents the Dirac gamma Lorentz vector. */ -- 2.47.0