Hi there, I am assuming this is a simple issue, I have a matrix ‘expectations’ I want to divide all the elements by the sums of the row. So I used the following code

```
int Y = 10;
int A = 8;
matrix[Y, A] expectations;
real year_total;
for (t in 1:Y) {
year_total = sum(expectations[t,]);
expectations[t,] /= year_total;
}
```

But get the following error ‘PARSER EXPECTED: <expression>’ the manual says I should be allowed to use the /= operator between a row_vector and real, so I am unsure whats going on. Any help would be much appreciated.