Skip to content

Commit

Permalink
Fix type bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Pals committed Feb 6, 2020
1 parent f7e62a2 commit 408fed5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/hdf/io/Hdf5Handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DimInfo::DimInfo(
compound_size = float_type.getSize();
member_size = float_type.getSize();
offset = 0;
pdal_type = Dimension::Type(unsigned(Dimension::BaseType::Signed) | float_type.getSize());
pdal_type = Dimension::Type(unsigned(Dimension::BaseType::Floating) | float_type.getSize());
}

void Hdf5Handler::initialize(
Expand Down Expand Up @@ -146,7 +146,8 @@ void Hdf5Handler::initialize(
m_dimInfos.push_back(
DimInfo(
dimName.empty() ? datasetName : dimName,
dset.getIntType() )
dset.getIntType()
)
);
}
else if(vauge_type == H5T_FLOAT) {
Expand Down

0 comments on commit 408fed5

Please sign in to comment.