Open Pranavchiku opened 1 month ago
I had broadcast .false. w.r.t dimensions given in screen in ast_common_visitor.h
But in pass_utils.h
it is giving LcompilerAssert :
(Output : n-dimension of rhs and number of elements in 1st dimension after broadcasting)
1 5
2 64
LCOMPILERS_ASSERT failed: /mnt/c/lfortran/src/libasr/../libasr/pass/pass_utils.h
function replace_ArrayConstructor(), line number 955 at
ASRUtils::extract_n_dims_from_ttype(result_var_type) == 1
ERROR MESSAGE:
Initialisation using ArrayConstructor is supported only for single dimensional arrays, found: 2
Fails with latest main