greta-dev / greta-dev/greta

Potential bug with diag

Open
#216 5 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
C++
Stars
607
Forks
67
Avg merge
3d 8h
Merged PRs (30d)
1

Description

diag function does not seem to be working with greta arrays, e.g.:

N=100
xx=as_data(1)
dim(diag(xx,N,N))

produces
`[1] 1 1`

but should be
`[1] 100 100`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.