Skip to content

Commit

Permalink
#3007 Resio;lved SonarQube finding
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Jan 14, 2025
1 parent d809a92 commit 5a45937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcode/vx_data2d_nc_cf/var_info_nc_cf.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class VarInfoNcCF : public VarInfo

inline GrdFileType VarInfoNcCF::file_type() const { return FileType_NcCF; }
inline const LongArray & VarInfoNcCF::dimension() const { return Dimension; }
inline int VarInfoNcCF::dimension(int i) const { return Dimension[i]; }
inline int VarInfoNcCF::dimension(int i) const { return (int)Dimension[i]; }
inline int VarInfoNcCF::n_dimension() const { return Dimension.n_elements(); }
inline const NumArray & VarInfoNcCF::dim_value() const { return Dim_value; }
inline double VarInfoNcCF::dim_value(int i) const { return Dim_value[i]; }
Expand Down

0 comments on commit 5a45937

Please sign in to comment.