Invalid Parameter to Vectorize from example
Hello!
I just got started with Mojo, been playing with in for the past 2 days. I run into an a syntax error from just copying the matmul example.
On this line
vectorize[dot, nelts, size=tile_x]()
I get the error : Cannot pass 'fn[Int](n = Int) capturing -> None' value, parameter expected 'Int'mojo
2 Replies
this is funny timing, there was recently a big update that changed vectorize
the docs need to be fixed, but for your code all you need to do is change to
Yeah I saw the email right after the post haha. Awesome, thanks