Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return scalar if single field of matrix is accessed and vise versa in DaphneDSL #905

Open
m-birke opened this issue Nov 12, 2024 · 0 comments
Labels
feature missing/requested features

Comments

@m-birke
Copy link
Collaborator

m-birke commented Nov 12, 2024

An matrix indexing like M[0,0] should result in a scalar.
And it should be possible to insert scalars directly into a matrix.
For comparison like M[0,0] == 1 or assignment M[0,0] = 1
This would avoid further unnecessary typecasts like as.scalar(M[0,0])

@m-birke m-birke added the feature missing/requested features label Nov 12, 2024
@m-birke m-birke changed the title Return scalar if single field of matrix is accessed and vise versa Return scalar if single field of matrix is accessed and vise versa in DaphneDSL Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature missing/requested features
Projects
None yet
Development

No branches or pull requests

1 participant