Skip to content

Commit 03c2a13

Browse files
bwengalsbwengals
authored and
bwengals
committed
change naming shape->size where appropriate
1 parent 31150c3 commit 03c2a13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc/gp/util.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ def replace_with_value(vars_needed, replacements: Dict):
6565
return fn(**replacements)
6666

6767

68-
def infer_shape(X, n_points=None):
68+
def infer_size(X, n_points=None):
6969
R"""
70-
Maybe attempt to infer the shape of a Gaussian process input matrix.
70+
Maybe attempt to infer the size, or N, of a Gaussian process input matrix.
7171
7272
If a specific shape cannot be inferred, for instance if X is symbolic, then an
7373
error is raised.

0 commit comments

Comments
 (0)