Skip to content
Snippets Groups Projects
Commit cb9e0a76 authored by Jesper Andersson's avatar Jesper Andersson
Browse files

Minor messing

parent 5130d908
No related branches found
No related tags found
No related merge requests found
...@@ -112,6 +112,8 @@ public: ...@@ -112,6 +112,8 @@ public:
void WarningsOn() {_pw=true;} void WarningsOn() {_pw=true;}
void WarningsOff() {_pw=false;} void WarningsOff() {_pw=false;}
// All access to individual elements is one-offset, i.e. same as Matlab and NEMAT
T Peek(unsigned int r, unsigned int c) const; T Peek(unsigned int r, unsigned int c) const;
T operator()(unsigned int r, unsigned int c) const {return(Peek(r,c));} // Read-only T operator()(unsigned int r, unsigned int c) const {return(Peek(r,c));} // Read-only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment