Changeset 107b5b2 in git


Ignore:
Timestamp:
Aug 1, 2012, 11:15:29 PM (10 years ago)
Author:
Alexander Dreyer <alexander.dreyer@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '96ce329119711a2b80858c8365abd29f8460bbfa')
Children:
0227d1da17c412c6602665e42a7a5c3cd28e64a4
Parents:
c0d2927a1a24fcd6c526178afeb42e5089c5d04b
Message:
fix: empty lists to pyobject
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/pyobject.cc

    rc0d292 r107b5b2  
    355355{
    356356  ptr_type pylist(PyList_New(0));
    357   for (size_t i = 0; i <= value->nr; ++i)
     357  for (int i = 0; i <= value->nr; ++i)
    358358    PyList_Append(pylist, PythonCastDynamic((value->m) + i));
    359359
Note: See TracChangeset for help on using the changeset viewer.