Re: [Pharo-users] Primitive is not executed

2020-06-10 Thread Stéphane Ducasse
Thanks a lot Guille and Pablo :) https://github.com/pharo-project/pharo/issues/6549 > On 10 Jun 2020, at 10:45, Guillermo Polito wrote: > > Hi Jesus, > > We have looked at it with Pablo. We were wondering too if you could give us a >

Re: [Pharo-users] Primitive is not executed

2020-06-10 Thread Jesus Mari Aguirre
Eso es, Guille!! that was the problem, both arrays should be of the same type/format, I tried the method calling a replaceFrom: 1 to: 2 with: #(1 2 3) startingAt: 1. so I was passing an Array object instead, so I'm doing the right thing but wrong testing! Thanks a lot! I'm not on Discord but I

Re: [Pharo-users] Primitive is not executed

2020-06-10 Thread Guillermo Polito
Hi Jesus, We have looked at it with Pablo. We were wondering too if you could give us a reproducible case for what is not working with you, because we have tested it and it seems to be working (details below). The array replace primitive is a generic primitive that handles the replace of

Re: [Pharo-users] Primitive is not executed

2020-06-09 Thread Stéphane Ducasse
Hello > I am developing a "numpy arrays" like framework on pharo, Cool > I decided to use an Array type depending on the class of its elements (I > thought it would be more efficient) i.e if the array contains floats it will > be stored in a floatArray but if contains integers, a

[Pharo-users] Primitive is not executed

2020-06-09 Thread Jesus Mari Aguirre
I am developing a "numpy arrays" like framework on pharo, I decided to use an Array type depending on the class of its elements (I thought it would be more efficient) i.e if the array contains floats it will be stored in a floatArray but if contains integers, a IntegerArray will be used. I make