Skip to content

Commit 3e034d3

Browse files
author
Greg Brandt
committedMar 21, 2016
Fix copy / paste bug
1 parent 8bbc947 commit 3e034d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/test/java/com/github/brandtg/stl/StlPlotter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ public static void main(String[] args) throws Exception {
183183
convert(seasonal),
184184
convert(remainder));
185185

186-
if (args.length == 3) {
187-
plot(res, new File(args[2]));
186+
if (args.length == 1) {
187+
plot(res, new File(args[0]));
188188
} else {
189189
plotOnScreen(res, "Seasonal Decomposition");
190190
}

0 commit comments

Comments
 (0)