Skip to content

Commit d483a4c

Browse files
Merge branch 'issue-732-EnumClass' into AndrewDevelopment
2 parents 6519202 + b99a2c1 commit d483a4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Simulator/Recorders/NG911/Xml911Recorder.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ void Xml911Recorder::saveSimData()
3434

3535
// create Vertex Types matrix
3636
VectorMatrix oldTypes(MATRIX_TYPE, MATRIX_INIT, 1, Simulator::getInstance().getTotalVertices(),
37-
static_cast<float>(vertexType::EXC));
37+
static_cast<BGFLOAT>(vertexType::EXC));
3838
VectorMatrix vertexTypes(MATRIX_TYPE, MATRIX_INIT, 1,
3939
Simulator::getInstance().getTotalVertices(),
40-
static_cast<float>(vertexType::EXC));
40+
static_cast<BGFLOAT>(vertexType::EXC));
4141

4242
for (int i = 0; i < Simulator::getInstance().getTotalVertices(); i++) {
4343
vertexTypes[i]
44-
= static_cast<float>(Simulator::getInstance().getModel().getLayout().vertexTypeMap_[i]);
45-
oldTypes[i] = static_cast<float>(conns911.oldTypeMap_[i]);
44+
= static_cast<BGFLOAT>(Simulator::getInstance().getModel().getLayout().vertexTypeMap_[i]);
45+
oldTypes[i] = static_cast<BGFLOAT>(conns911.oldTypeMap_[i]);
4646
}
4747

4848
// Write XML header information:

0 commit comments

Comments
 (0)