You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having similar issues with concatenate and hstack
# Reshape xx and yyxx_reshaped=xx.reshape(-1, 1)
yy_reshaped=yy.reshape(-1, 1)
# Concatenate xx and yy#var reshaped_array = np.concatenate((xx_reshaped, yy_reshaped), axis=1)varreshaped_array=np.hstack((xx_reshaped,yy_reshaped))
Summary of error
Expression [34] wrapper:73:26: call expansion failed - no concrete specializations
__mojo_repl_expr_body__()
^
Expression [34] wrapper:36:7: functioninstantiation failed
def __mojo_repl_expr_body__() -> None:
^
Expression [34]:28:44: call expansion failed - no concrete specializations
var reshaped_array = np.hstack((xx_reshaped,yy_reshaped))
^
expression failed to parse (no further compiler diagnostics)
Bug description
The following code snippet, that adds two matrices, doesn't run:
Running the file gives the error message:
Observe that vectors instead of matrices do work:
Steps to reproduce
To reproduce, save the snippet as
myfile.mojo
and runmojo myfile.mojo
.System information
The text was updated successfully, but these errors were encountered: