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

Add section to always use explicit indexing on the rhs #40

Open
t-b opened this issue Jun 14, 2024 · 0 comments
Open

Add section to always use explicit indexing on the rhs #40

t-b opened this issue Jun 14, 2024 · 0 comments

Comments

@t-b
Copy link
Member

t-b commented Jun 14, 2024

	make/O/N=3 lhs, rhs
	lhs = p
	rhs = 10 + p
	print lhs
	print rhs
	lhs[inf] = rhs

this is not good code. rhs is using implicit [p] here, see DisplayHelpTopic "Mismatched Waves" but that is suprising. It get's even worse for multidimensional waves, see DisplayHelpTopic "Multidimensional Wave Assignment" the "Important note".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant