Commit af03d478 authored by Mark Fishcler's avatar Mark Fishcler
Browse files

more fun with Microsoft

parent 46d3b4af
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
int test_inversion (int N) { int test_inversion (int N) {
HepSymMatrix S(N,0); HepSymMatrix S(N,0);
for(int i=1;i<=N;++i) { for(i=1;i<=N;++i) {
for(int j=1;j<=N;++j) { for(j=1;j<=N;++j) {
if(i<=j) { if(i<=j) {
S (i,j) = (10.0*i+j)/10; S (i,j) = (10.0*i+j)/10;
} }
...@@ -43,8 +43,6 @@ int test_inversion (int N) { ...@@ -43,8 +43,6 @@ int test_inversion (int N) {
MS = S; MS = S;
MSS = SS; MSS = SS;
SI = MSS*MS; SI = MSS*MS;
int i;
int j;
for(i=1;i<=N;++i) { for(i=1;i<=N;++i) {
for(j=1;j<=N;++j) { for(j=1;j<=N;++j) {
if(i!=j) { if(i!=j) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment