[Torch5-devel] map & apply bug
Status: Pre-Alpha
Brought to you by:
andresy
From: Ronan C. <ro...@co...> - 2008-08-06 21:38:36
|
Guys I corrected a bug occurring in map*() and apply() functions (torch & lab package). This bug was appearing only if the function you provided as an argument returned sometimes a number, sometimes nothing (or nil). If it returned always a number or always nothing (or nil), the behavior was correct. I also corrected the doc concerning these functions. In particular, lab.apply() was previously renamed as lab.map() to be consistent with torch package functions, but the doc was not updated (and wrong). Cheers Ronan. |