Skip to content

Commit

Permalink
Fixes for SonarQube
Browse files Browse the repository at this point in the history
  • Loading branch information
MET Tools Test Account committed Sep 26, 2024
1 parent c4ddea7 commit a0d7c47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/tools/other/mode_time_domain/mtd_file_float.cc
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,8 @@ MtdFileBase::read(f);

// DataMin, DataMax

DataMin = get_att_value_double(&f, min_value_att_name);
DataMax = get_att_value_double(&f, max_value_att_name);
DataMin = (float) get_att_value_double(&f, min_value_att_name);
DataMax = (float) get_att_value_double(&f, max_value_att_name);

// Data

Expand Down
4 changes: 2 additions & 2 deletions src/tools/other/mode_time_domain/mtd_file_int.cc
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@ MtdFileBase::read(f);

// DataMin, DataMax

DataMin = get_att_value_double(&f, min_value_att_name);
DataMax = get_att_value_double(&f, max_value_att_name);
DataMin = get_att_value_int(&f, min_value_att_name);
DataMax = get_att_value_int(&f, max_value_att_name);

// Data

Expand Down

0 comments on commit a0d7c47

Please sign in to comment.