[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Toon-members] Identity bug with -
From: |
Georg Klein |
Subject: |
[Toon-members] Identity bug with - |
Date: |
Tue, 5 May 2009 16:48:44 +0100 (BST) |
Matrix<> m999(3,3);
for(int i=0; i<3; i++)
for(int j=0; j<3; j++)
m999[i][j] = 999;
cout << "m999: " << endl;
cout << m999 << endl;
cout << "Identity - 999 " << endl;
cout << Identity - m999 << endl;
Gives:
m999:
999 999 999
999 999 999
999 999 999
Identity - 999
998 999 999
999 998 999
999 999 998
The latter is incorrect...
- [Toon-members] Identity bug with -,
Georg Klein <=