Skip to content

Matrix fn with numpy #267

Closed Locked Answered by lattner
survuvi asked this question in Q&A
May 26, 2023 · 4 comments · 4 replies
Discussion options

You must be logged in to vote

The issue here is that all calls through imported python APIs can raise an error at any time, but a 'fn' defaults not not being able to raise. Try switching create_matrix to being a def, or mark it "raises"

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@DayDun
Comment options

@czheo
Comment options

@iamtimdavis
Comment options

@Mogball
Comment options

Answer selected by survuvi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants