Changes

Summary

  1. [all] Fix some warnings (#4529) (details)
Commit f655ae188cb11319e33fb1671313459fe617c476 by noreply
[all] Fix some warnings (#4529)

* [all] Fix some warnings

* use casts in CRSMatrixMecha and ConstantSPSystem

* fix warnings in CompressedRowSparseMatrix_test

* additional warning solved

* Update CarvingManager.cpp

* Use narrow instead

* add include for narrow_cast

* Apply suggestions from code review

Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>

---------

Co-authored-by: erik pernod <erik.pernod@gmail.com>
Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>
Co-authored-by: Frederick Roy <fredroy@users.noreply.github.com>
The file was modifiedSofa/framework/LinearAlgebra/src/sofa/linearalgebra/CompressedRowSparseMatrixMechanical.h (diff)
The file was modifiedSofa/framework/LinearAlgebra/test/CompressedRowSparseMatrix_test.cpp (diff)
The file was modifiedSofa/Component/Topology/Container/Constant/src/sofa/component/topology/container/constant/MeshTopology.cpp (diff)
The file was modifiedSofa/GUI/Qt/src/sofa/gui/qt/PieWidget.cpp (diff)
The file was modifiedSofa/Component/SolidMechanics/FEM/Elastic/tests/TriangleFEMForceField_test.cpp (diff)
The file was modifiedSofa/Component/SolidMechanics/Spring/src/sofa/component/solidmechanics/spring/QuadularBendingSprings.inl (diff)
The file was modifiedapplications/plugins/Geomagic/src/Geomagic/GeomagicDriver.cpp (diff)
The file was modifiedSofa/Component/SolidMechanics/Spring/src/sofa/component/solidmechanics/spring/QuadularBendingSprings.h (diff)
The file was modifiedapplications/plugins/SofaCarving/src/SofaCarving/CarvingManager.cpp (diff)
The file was modifiedSofa/Component/LinearSystem/src/sofa/component/linearsystem/ConstantSparsityPatternSystem.inl (diff)
The file was modifiedapplications/plugins/Geomagic/src/Geomagic/GeomagicEmulator.cpp (diff)