Skip to content

Commit 5a2026a

Browse files
committed
Add Determinant and Trace properties.
1 parent ab808f5 commit 5a2026a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

core/pythoncdb/py_properties.cc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "properties/Depends.hh"
1010
#include "properties/DependsInherit.hh"
1111
#include "properties/Derivative.hh"
12+
#include "properties/Determinant.hh"
1213
#include "properties/DifferentialForm.hh"
1314
#include "properties/DiracBar.hh"
1415
#include "properties/GammaMatrix.hh"
@@ -44,6 +45,7 @@
4445
#include "properties/Symmetric.hh"
4546
#include "properties/Tableau.hh"
4647
#include "properties/TableauSymmetry.hh"
48+
#include "properties/Trace.hh"
4749
#include "properties/Traceless.hh"
4850
#include "properties/Vielbein.hh"
4951
#include "properties/Weight.hh"
@@ -137,6 +139,7 @@ namespace cadabra
137139
def_prop<DAntiSymmetric>(m);
138140
def_prop<Depends>(m);
139141
def_prop<Derivative>(m);
142+
def_prop<Determinant>(m);
140143
def_prop<Diagonal>(m);
141144
def_prop<DifferentialForm>(m);
142145
def_prop<Distributable>(m);
@@ -169,6 +172,7 @@ namespace cadabra
169172
def_prop<Symmetric>(m);
170173
def_prop<Tableau>(m);
171174
def_prop<TableauSymmetry>(m);
175+
def_prop<Trace>(m);
172176
def_prop<Traceless>(m);
173177
def_prop<Vielbein>(m);
174178
def_prop<InverseVielbein>(m);
@@ -177,4 +181,4 @@ namespace cadabra
177181
def_prop<WeylTensor>(m);
178182

179183
}
180-
}
184+
}

0 commit comments

Comments
 (0)