-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed the type annotation of the return value in the api and stage.
As explained elsewhere the annotation was wrong. Simple example: ```python @jace.jit def foo(a: np.ndarray) -> np.float64: return np.float64(a.sum()) ``` The actual return value would be `np.ndarray`, although one dimension. This limitation is also present in JAX.
- Loading branch information
1 parent
fab9131
commit 951f857
Showing
2 changed files
with
24 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters