diff --git a/include/gnss_utils/utils/transformations.h b/include/gnss_utils/utils/transformations.h
index caa22c473af8509cda43970bf7f98cdef05ed99f..10ddc0ac8462d9bd8636dc9a42d273cfcaed9a81 100644
--- a/include/gnss_utils/utils/transformations.h
+++ b/include/gnss_utils/utils/transformations.h
@@ -17,8 +17,8 @@ namespace GnssUtils
 {
 Eigen::Vector3d ecefToLatLonAlt(const Eigen::Vector3d& _ecef);
 Eigen::Vector3d latLonAltToEcef(const Eigen::Vector3d& _latlon);
-Eigen::Matrix3d ecefToEnuCov(const Eigen::Vector3d& _latlon, const Eigen::Matrix3d _cov_ecef);
-Eigen::Matrix3d enuToEcefCov(const Eigen::Vector3d& _latlon, const Eigen::Matrix3d _cov_enu);
+Eigen::Matrix3d ecefToEnuCov(const Eigen::Vector3d& _latlon, const Eigen::Matrix3d& _cov_ecef);
+Eigen::Matrix3d enuToEcefCov(const Eigen::Vector3d& _latlon, const Eigen::Matrix3d& _cov_enu);
 
 void computeEnuEcefFromEcef(const Eigen::Vector3d& _t_ECEF_ENU,
                             Eigen::Matrix3d&       R_ENU_ECEF,
@@ -28,4 +28,4 @@ void computeEnuEcefFromLatLonAlt(const Eigen::Vector3d& _ENU_latlonalt,
                                  Eigen::Vector3d&       t_ENU_ECEF);
 
 }  // namespace GnssUtils
-#endif  // INCLUDE_GNSS_UTILS_UTILS_TRANSFORMATIONS_H_
\ No newline at end of file
+#endif  // INCLUDE_GNSS_UTILS_UTILS_TRANSFORMATIONS_H_
diff --git a/src/utils/transformations.cpp b/src/utils/transformations.cpp
index 38097f55678579cb819ccf01ab0fc1a0cbbd6bfe..81639674696ff9fc38c742cb8f433164529d0814 100644
--- a/src/utils/transformations.cpp
+++ b/src/utils/transformations.cpp
@@ -21,7 +21,7 @@ Eigen::Vector3d latLonAltToEcef(const Eigen::Vector3d& _latlon)
   return ecef;
 }
 
-Eigen::Matrix3d ecefToEnuCov(const Eigen::Vector3d& _latlon, const Eigen::Matrix3d _cov_ecef)
+Eigen::Matrix3d ecefToEnuCov(const Eigen::Vector3d& _latlon, const Eigen::Matrix3d& _cov_ecef)
 {
   Eigen::Matrix3d cov_enu;
 
@@ -38,7 +38,7 @@ Eigen::Matrix3d ecefToEnuCov(const Eigen::Vector3d& _latlon, const Eigen::Matrix
   return cov_enu;
 }
 
-Eigen::Matrix3d enuToEcefCov(const Eigen::Vector3d& _latlon, const Eigen::Matrix3d _cov_enu)
+Eigen::Matrix3d enuToEcefCov(const Eigen::Vector3d& _latlon, const Eigen::Matrix3d& _cov_enu)
 {
   Eigen::Matrix3d cov_ecef;
 
@@ -149,4 +149,4 @@ void computeEnuEcefFromLatLonAlt(const Eigen::Vector3d& _ENU_latlonalt,
   t_ENU_ECEF = -R_ENU_ECEF * t_ECEF_ENU;
 }
 
-}  // namespace GnssUtils
\ No newline at end of file
+}  // namespace GnssUtils