Mercurial > pylearn
comparison pylearn/sandbox/scan_inputs_groups.py @ 786:0eb53b967ee7
dummy change to force the compilation with the good paramter of FillMissing.c_code()
author | Frederic Bastien <bastienf@iro.umontreal.ca> |
---|---|
date | Mon, 29 Jun 2009 16:08:00 -0400 |
parents | b6670cb57101 |
children | 7a65c5b79aca |
comparison
equal
deleted
inserted
replaced
785:12f587e37ee3 | 786:0eb53b967ee7 |
---|---|
704 %(type)s fill_with[%(self.fill_with_length)s] = {%(self.fill_with_data)s}; | 704 %(type)s fill_with[%(self.fill_with_length)s] = {%(self.fill_with_data)s}; |
705 | 705 |
706 if(!PyArray_Check(input)){ | 706 if(!PyArray_Check(input)){ |
707 PyErr_SetString(PyExc_ValueError, "input must be an ndarray"); | 707 PyErr_SetString(PyExc_ValueError, "input must be an ndarray"); |
708 %(fail)s; | 708 %(fail)s; |
709 | |
709 } | 710 } |
710 | 711 |
711 typenum = PyArray_ObjectType((PyObject*)input, 0); | 712 typenum = PyArray_ObjectType((PyObject*)input, 0); |
712 if(!value || !PyArray_SAMESHAPE(value,input)){ | 713 if(!value || !PyArray_SAMESHAPE(value,input)){ |
713 Py_XDECREF(value); | 714 Py_XDECREF(value); |