Giter Site home page Giter Site logo

Comments (5)

mlajtos avatar mlajtos commented on May 25, 2024 1

@jjjkkkjjj I just tried master and it works as expected. Thank you, that was really fast. :)

IMG_1731

from matft.

jjjkkkjjj avatar jjjkkkjjj commented on May 25, 2024

Thanks! That's a bug!
I'll fix it.

from matft.

jjjkkkjjj avatar jjjkkkjjj commented on May 25, 2024

@mlajtos
Did you update the latest version?
I couldn't reproduce this bug. I got correct MfArray in the latest version like this;

print(Matft.ufuncReduce(mfarray: MfArray([1,2,3,4,5,6,7,8,9,10] as [Double]), ufunc: Matft.add))
//mfarray = 
//[	55.0], type=Double, shape=[1]

from matft.

mlajtos avatar mlajtos commented on May 25, 2024

I am on 0.2.9. Running it inside playground I get this:

Snímka obrazovky 2021-08-09 o 11 07 50

However, the MfArray seems correct, so it is a bug inside toArray method.

Snímka obrazovky 2021-08-09 o 11 09 20

from matft.

jjjkkkjjj avatar jjjkkkjjj commented on May 25, 2024

@mlajtos
I could reproduce this bug and I've just fixed it.
Your point was correct. Add(binary operation function) seemed to cause this bug.
Could you update the latest commit and check this bug again?

from matft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.