Skip to content

Commit

Permalink
Update extensions/gluonTS/src/main/java/ai/djl/gluonTS/SampleForeCast…
Browse files Browse the repository at this point in the history
….java

Co-authored-by: Frank Liu <[email protected]>
  • Loading branch information
Carkham and frankfliu authored Aug 15, 2022
1 parent a52fe6d commit 9018e56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public NDArray quantile(float q) {
* @return a new {@link SampleForeCast}.
*/
public SampleForeCast copyDim(int dim) {
NDArray copySamples = null;
NDArray copySamples;
if (this.samples.getShape().dimension() == 2) {
samples = this.samples;
} else {
Expand Down

0 comments on commit 9018e56

Please sign in to comment.