Skip to content

Commit

Permalink
Added type annotations throughout.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Schoenholz committed Oct 12, 2020
1 parent c4087ad commit 87528f7
Show file tree
Hide file tree
Showing 17 changed files with 980 additions and 640 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/bazel-*
.bazelrc
.pytype/*
**/.pytype/*
/tensorflow
.DS_Store
build/
Expand Down
2 changes: 2 additions & 0 deletions jax_md/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@
from jax_md import partition
from jax_md import dataclasses
from jax_md import nn
from jax_md import interpolate
from jax_md import util
1 change: 1 addition & 0 deletions jax_md/dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,4 @@ def static_field():

replace = dataclasses.replace
asdict = dataclasses.asdict
astuple = dataclasses.astuple
Loading

0 comments on commit 87528f7

Please sign in to comment.