Skip to content
Snippets Groups Projects
Commit fc69bd74 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix qualifiers for node coordinates: member and constructor argument

This bad qualifiers were already noticed with @alexiane
parent f009577d
No related branches found
No related tags found
1 merge request!89Add missing compatibility check when affecting lists to R^d or R^dxd
...@@ -18,7 +18,7 @@ class Mesh final : public IMesh ...@@ -18,7 +18,7 @@ class Mesh final : public IMesh
private: private:
const std::shared_ptr<const Connectivity> m_connectivity; const std::shared_ptr<const Connectivity> m_connectivity;
NodeValue<const Rd> m_xr; const NodeValue<const Rd> m_xr;
public: public:
PUGS_INLINE PUGS_INLINE
...@@ -85,7 +85,7 @@ class Mesh final : public IMesh ...@@ -85,7 +85,7 @@ class Mesh final : public IMesh
} }
PUGS_INLINE PUGS_INLINE
Mesh(const std::shared_ptr<const Connectivity>& connectivity, NodeValue<Rd>& xr) Mesh(const std::shared_ptr<const Connectivity>& connectivity, const NodeValue<const Rd>& xr)
: m_connectivity{connectivity}, m_xr{xr} : m_connectivity{connectivity}, m_xr{xr}
{ {
; ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment