File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
15
15
set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
16
16
17
17
# set project's name
18
- project (EbsdLibProj VERSION 1.0.34 )
18
+ project (EbsdLibProj VERSION 1.0.35 )
19
19
20
20
# ---------- Setup output Directories -------------------------
21
21
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY
Original file line number Diff line number Diff line change @@ -618,9 +618,11 @@ std::vector<CrcDataParser> CprReader::createFieldParsers(const std::string& file
618
618
auto elementName = getFieldValue<std::string>(ini, " EDX Windows" , fieldNameStrm.str ());
619
619
if (elementName.empty ())
620
620
{
621
- elementName = " Unknown Field" ;
621
+ fieldNameStrm.str (" " ); // Clear the stringstream buffer
622
+ fieldNameStrm << " Field" << i;
623
+ elementName = fieldNameStrm.str ();
622
624
}
623
- fieldOrder[i].FieldDefinition = {4 , elementName, EbsdLib::NumericTypes::Type::Int32 };
625
+ fieldOrder[i].FieldDefinition = {4 , elementName, EbsdLib::NumericTypes::Type::Float };
624
626
fieldOrder[i].destinationPtr = nullptr ;
625
627
fieldOrder[i].readOffset = currentOffset;
626
628
currentOffset += 4 ;
You can’t perform that action at this time.
0 commit comments