Changeset 7960:56a251abca16 in orange


Ignore:
Timestamp:
06/01/11 14:44:57 (3 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
36244478f436710e068b958b3885432e3f92b7d4
Message:

Fixed a bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orangeom/graph_layout.cpp

    r7958 r7960  
    702702        graph_layout->set_graph(graph); 
    703703 
    704         if (positions != Py_None) { 
     704        if (positions != Py_None && PyList_Size(positions) == graph_layout->nVertices) { 
    705705            int i; 
    706706            for (i = 0; i < graph_layout->nVertices; i++) { 
Note: See TracChangeset for help on using the changeset viewer.