Skip to content

Commit

Permalink
remove example
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpotts committed Sep 13, 2024
1 parent eb6a8b4 commit 37c941b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/LinalgMsg.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -283,19 +283,6 @@ module LinalgMsg {
}
}

// TEST Function
@arkouda.registerCommand
proc testFunc(x: ?t, x2: ?t2, array: [?D] ?t3): [D] t3 throws
where (t == int) && (t2 == int) && (t3 == int){
const ret = array + x + x2;
return ret;
}

proc testFunc(x: ?t, x2: ?t2, array: [?D] ?t3): [D] t3 throws
where (t != int) || (t2 != int) || (t3 != int) {
throw new Error("Case not supported.");
}

// Transpose an array.

@arkouda.registerCommand
Expand Down
10 changes: 10 additions & 0 deletions src/registry/Commands.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ param regConfig = """
"bool",
"bigint"
]
},
"scalar": {
"dtype": [
"int",
"uint",
"uint(8)",
"real",
"bool",
"bigint"
]
}
}
}
Expand Down

0 comments on commit 37c941b

Please sign in to comment.