Skip to content

Commit 6913257

Browse files
author
Martin D. Weinberg
committed
Wrong type in HighFive attribute creation
1 parent 6d876e7 commit 6913257

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

expui/Coefficients.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ namespace CoefClasses
10951095
// Add a rotation matrix attribute
10961096
//
10971097
Eigen::Matrix3d rot = C->getRotation();
1098-
stanza.createAttribute<Eigen::Matrix3d>("Rotation", HighFive::DataSpace::From(rot)).write(rot);
1098+
stanza.createAttribute<double>("Rotation", HighFive::DataSpace::From(rot)).write(rot);
10991099

11001100
// Add coefficient data
11011101
//
@@ -2965,7 +2965,7 @@ namespace CoefClasses
29652965
// Add a rotation matrix attribute
29662966
//
29672967
Eigen::Matrix3d rot = C->getRotation();
2968-
stanza.createAttribute<Eigen::Matrix3d>("Rotation", HighFive::DataSpace::From(rot)).write(rot);
2968+
stanza.createAttribute<double>("Rotation", HighFive::DataSpace::From(rot)).write(rot);
29692969

29702970
// Coefficient size (allow Eigen::Tensor to be easily recontructed from metadata)
29712971
//

0 commit comments

Comments
 (0)