Skip to content

Commit

Permalink
reorg to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Sep 20, 2022
1 parent 2afba1e commit 913f0b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion experimental/algorithm/LAGraph_HelloWorld.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include "LG_internal.h"
#include "LAGraphX.h"

GrB_Info LAGraph_HelloWorld // a simple algorithm, just for illustration
int LAGraph_HelloWorld // a simple algorithm, just for illustration
(
// output
GrB_Matrix *Yhandle, // Y, created on output
Expand Down Expand Up @@ -89,6 +89,7 @@ GrB_Info LAGraph_HelloWorld // a simple algorithm, just for illustration
// free workspace and return result
//--------------------------------------------------------------------------

LG_FREE_WORK ;
(*Yhandle) = Y ;
return (GrB_SUCCESS) ;
}
Expand Down
3 changes: 2 additions & 1 deletion include/LAGraphX.h
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,8 @@ int LAGraph_SquareClustering
// a simple example of an algorithm
//------------------------------------------------------------------------------

GrB_Info LAGraph_HelloWorld // a simple algorithm, just for illustration
LAGRAPH_PUBLIC
int LAGraph_HelloWorld // a simple algorithm, just for illustration
(
// output
GrB_Matrix *Yhandle, // Y, created on output
Expand Down
8 changes: 4 additions & 4 deletions rtdocs/experimental.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ which serves as a template for creating new algorithms:
the prefix test_*, the CMake script will compile it and
include it in the "make test" target.

.. _algorithm/LAGraph_HelloWorld.c: https://github.com/GraphBLAS/LAGraph/blob/reorg/experimental/algorithm/LAGraph_HelloWorld.c
.. _benchmark/helloworld2_demo.c: https://github.com/GraphBLAS/LAGraph/blob/reorg/experimental/benchmark/helloworld2_demo.c
.. _benchmark/helloworld_demo.c: https://github.com/GraphBLAS/LAGraph/blob/reorg/experimental/benchmark/helloworld_demo.c
.. _test/test_HelloWorld.c: https://github.com/GraphBLAS/LAGraph/blob/reorg/experimental/test/test_HelloWorld.c
.. _algorithm/LAGraph_HelloWorld.c: https://github.com/GraphBLAS/LAGraph/blob/stable/experimental/algorithm/LAGraph_HelloWorld.c
.. _benchmark/helloworld2_demo.c: https://github.com/GraphBLAS/LAGraph/blob/stable/experimental/benchmark/helloworld2_demo.c
.. _benchmark/helloworld_demo.c: https://github.com/GraphBLAS/LAGraph/blob/stable/experimental/benchmark/helloworld_demo.c
.. _test/test_HelloWorld.c: https://github.com/GraphBLAS/LAGraph/blob/stable/experimental/test/test_HelloWorld.c

0 comments on commit 913f0b0

Please sign in to comment.