forked from Jounce/Surge
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Problem with 1D + operator #71
Labels
Comments
Yes, for Array
|
Hello Alejandro,
this is evident, but I mean, that than the public func for + in the package should be removed.
Von: Alejandro Isaza [mailto:notifications@github.com]
Gesendet: Dienstag, 21. März 2017 03:04
An: aleph7/Upsurge
Cc: MUECKE446; Author
Betreff: Re: [aleph7/Upsurge] Problem with 1D + operator (#71)
Yes, for Array + is defined as concatenation. You have to use ValueArray. You can also write as:
var D = ValueArray([1.0,2.0,3.0])
var E = ValueArray([4.0,5.0,6.0])
let F = D + E
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#71 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AGZ4p-Mb05qYzZewddBC63zGQCxFYCbGks5rnzAdgaJpZM4MjDAm> .Das Bild wurde vom Absender entfernt.
|
There are two options if you want to concatenate:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have no idea how can I fix it: for a build in Double array + for appending exists.
Can someone help?
The text was updated successfully, but these errors were encountered: