Hi, investing a sys::IndexErr in FWT I noticed the following in fwt::Table.fan:
sys::IndexErr
fwt::Table.fan
359 // View -> Model 360 Int rowViewToModel(Int i) { rows[i] } 361 Int colViewToModel(Int i) { cols[i] } 362 Int[] rowsViewToModel(Int[] i) { i.map |x->Int| { rows[x] } } 363 Int[] colsViewToModel(Int[] i) { i.map |x->Int| { rows[x] } }
where I figure that last line should be:
363 Int[] colsViewToModel(Int[] i) { i.map |x->Int| { cols[x] } }
(My Err is actually on line 362, so the above may not be causing any harm!)
Thanks for catching that - I pushed a fix. Not sure we have any code actually using that method
Login or Signup to reply.
SlimerDude Wed 14 Jan 2015
Hi, investing a
sys::IndexErr
in FWT I noticed the following infwt::Table.fan
:where I figure that last line should be:
(My Err is actually on line 362, so the above may not be causing any harm!)
brian Thu 15 Jan 2015
Thanks for catching that - I pushed a fix. Not sure we have any code actually using that method