Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deepgp/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, nDims, Y, X=None, num_inducing=10, likelihood = None, inits='
if self.X_observed:
assert self.input_dim==X.shape[1], "The dimensionality of output has to agree with the dimensionality of data (X)!"
if mrd_flag:
for i in len(Y):
for i in range(len(Y)):
assert Y[i].shape[0]==X.shape[0], "The numbers of datapoints in X and Y have to be equal!"
else:
assert Y.shape[0]==X.shape[0], "The numbers of datapoints in X and Y have to be equal!"
Expand Down