Git Product home page Git Product logo

Comments (15)

DrTimothyAldenDavis avatar DrTimothyAldenDavis commented on August 14, 2024 1

Timely catch since I'm close to posting v5.0.1. Thanks!

from graphblas.

DrTimothyAldenDavis avatar DrTimothyAldenDavis commented on August 14, 2024

from graphblas.

eriknw avatar eriknw commented on August 14, 2024

What you describe is correct, but this is not what I currently see on master branch.

from graphblas.

DrTimothyAldenDavis avatar DrTimothyAldenDavis commented on August 14, 2024

Oh ... oops. I see it. I'm so dyslexic...

from graphblas.

eriknw avatar eriknw commented on August 14, 2024

For example GB_1st (bind-first) uses the GrB_INP0 descriptor value:

GB_GET_DESCRIPTOR (info, desc, C_replace, Mask_comp, Mask_struct,
A_transpose, xx1, xx2, xx7) ;

and GB_2nd (bind-second) uses GrB_INP1:

GB_GET_DESCRIPTOR (info, desc, C_replace, Mask_comp, Mask_struct,
xx1, A_transpose, xx2, xx7) ;

from graphblas.

DrTimothyAldenDavis avatar DrTimothyAldenDavis commented on August 14, 2024

Yup ... that's a bug -- thanks for catching it. It's a quick fix in the code but I also have to fix my MATLAB test suite which is harder.

from graphblas.

eriknw avatar eriknw commented on August 14, 2024

We're all a little lysdexic at times!

from graphblas.

eriknw avatar eriknw commented on August 14, 2024

Cool, I'll let you take care of it, since, yeah, I don't have access to MATLAB.

from graphblas.

DrTimothyAldenDavis avatar DrTimothyAldenDavis commented on August 14, 2024

It's the Test/test154.m that is backwards.

from graphblas.

DrTimothyAldenDavis avatar DrTimothyAldenDavis commented on August 14, 2024

Oh wait ... in the Test/test154.m I "simplify" things and just pass in both INP0 and INP1 as "tran" when I want to transpose the matrix, taking a shotgun approach. So the test would pass either way, which is broken.

from graphblas.

eriknw avatar eriknw commented on August 14, 2024

Ooh, looking forward to a version 5!

from graphblas.

eriknw avatar eriknw commented on August 14, 2024

In the meantime, your test suite suggests an easy fix for current user-code: just set both descriptors :)

from graphblas.

DrTimothyAldenDavis avatar DrTimothyAldenDavis commented on August 14, 2024

from graphblas.

DrTimothyAldenDavis avatar DrTimothyAldenDavis commented on August 14, 2024

I just fixed this in the stable v5.0.2. Thanks for catching it.

from graphblas.

eriknw avatar eriknw commented on August 14, 2024

Hooray! I'm always surprised when I find a bug in SuiteSparse:GraphBLAS.

from graphblas.

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.