Changeset 5011:4d6faa6f03ee in orange


Ignore:
Timestamp:
07/29/08 14:40:12 (6 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
41eba608b38cb57b71b0266a7dfb367898a7267a
Message:

fixed bug in fromSymMatrix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orangeom/network.cpp

    r4714 r5011  
    387387    if (matrix->matrixType == 0) { 
    388388        // lower 
    389         for (i = 1; i < matrix->dim; i++) { 
     389        for (i = 0; i < matrix->dim; i++) { 
    390390            bool connected = false; 
    391391            for (j = i+1; j < matrix->dim; j++) { 
     
    404404    else { 
    405405        // upper 
    406         for (i = 1; i < matrix->dim; i++) { 
     406        for (i = 0; i < matrix->dim; i++) { 
    407407            bool connected = false; 
    408408            for (j = i+1; j < matrix->dim; j++) { 
Note: See TracChangeset for help on using the changeset viewer.