Comments (15)
Timely catch since I'm close to posting v5.0.1. Thanks!
from graphblas.
from graphblas.
What you describe is correct, but this is not what I currently see on master branch.
from graphblas.
Oh ... oops. I see it. I'm so dyslexic...
from graphblas.
For example GB_1st
(bind-first) uses the GrB_INP0
descriptor value:
GraphBLAS/Source/GrB_Matrix_apply.c
Lines 89 to 90 in 92a7232
and GB_2nd
(bind-second) uses GrB_INP1
:
GraphBLAS/Source/GrB_Matrix_apply.c
Lines 139 to 140 in 92a7232
from graphblas.
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.
We're all a little lysdexic at times!
from graphblas.
Cool, I'll let you take care of it, since, yeah, I don't have access to MATLAB.
from graphblas.
It's the Test/test154.m that is backwards.
from graphblas.
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.
Ooh, looking forward to a version 5!
from graphblas.
In the meantime, your test suite suggests an easy fix for current user-code: just set both descriptors :)
from graphblas.
from graphblas.
I just fixed this in the stable v5.0.2. Thanks for catching it.
from graphblas.
Hooray! I'm always surprised when I find a bug in SuiteSparse:GraphBLAS.
from graphblas.
Related Issues (20)
- Set name of UDT when serializing HOT 12
- Build broken with spaces in folder names HOT 8
- build fails on windows 11 using CMake with MinGW HOT 5
- ISEQ monoids HOT 7
- Fix bitwise operator monoid names HOT 4
- Remove va_arg HOT 5
- GrB_Vector_(de)serialize HOT 6
- Sparse Index Space HOT 2
- Removed symbols without soname bump HOT 12
- atomic*: Undefined symbol on armel and mipsel architectures HOT 33
- "ZEROB" Binary Operator HOT 3
- GxB sort with smaller (or larger) output objects
- cpu_features: Build error for MinGW HOT 13
- Size of Static Library HOT 16
- Link error with Intel igx and Ninja generator on Windows HOT 9
- Optimisation report causing build failure when using Intel oneAPI HOT 2
- nvals weirdness with 8.0.0 for max-sized Vector HOT 6
- Where is `GxB_Context_error`? HOT 3
- Why was `nthreads` and `chunks` remove from the descriptor? HOT 5
- dynamic connectivity in the language of graphblas HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphblas.