Changeset 4985:9f39bdf432ed in orange


Ignore:
Timestamp:
07/16/08 23:31:03 (6 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
b6d9c1b46988dffbfe3aa685a256b3f18c59adc1
Message:
  • fixed a bug with not locking the example table in getitemsref
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/lib_kernel.cpp

    r4929 r4985  
    23982398 
    23992399    CAST_TO(TExampleGenerator, eg); 
    2400     TExampleTable *newTable = mlnew TExampleTable(eg->domain, !reference); 
     2400    TExampleTable *newTable = reference ? mlnew TExampleTable(eg, (int)0) 
     2401                                        : mlnew TExampleTable(eg->domain); 
    24012402    PExampleGenerator newGen(newTable); 
    24022403 
     
    24282429 
    24292430PyObject *ExampleGenerator_checksum(PyObject *self, PyObject *) PYARGS(METH_NOARGS, "() -> crc") 
    2430 { return PyInt_FromLong(SELF_AS(TExampleGenerator).checkSum()); } 
     2431{ PyTRY 
     2432    return PyInt_FromLong(SELF_AS(TExampleGenerator).checkSum());  
     2433  PyCATCH 
     2434} 
    24312435 
    24322436 
Note: See TracChangeset for help on using the changeset viewer.