summaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h
index 512586d..ae25c0f 100644
--- a/src/state.h
+++ b/src/state.h
@@ -15,7 +15,7 @@ public:
void setPostfix(bool on) { this->ispostfix = on; }
void setNumChildren(unsigned int numc) { this->numchildren = numc; }
void setParent(const AbstractNode *parent) { this->parentnode = parent; }
- void setMatrix(const double m[20]) { memcpy(this->m, m, sizeof(m)); }
+ void setMatrix(const double m[20]) { memcpy(this->m, m, 20*sizeof(m)); }
bool isPrefix() const { return this->isprefix; }
bool isPostfix() const { return this->ispostfix; }
contact: Jan Huwald // Impressum