Fix formatting

master
Frederik Goovaerts 5 years ago
parent b1c7860aa6
commit 2e3a0bf030

@ -810,7 +810,7 @@ class Predictor {
* generate_possibilities(sell_prices, first_buy, previous_pattern) {
if (first_buy || isNaN(sell_prices[0])) {
for (var buy_price = 90; buy_price <= 110; buy_price++) {
const temp_sell_prices= sell_prices.slice()
const temp_sell_prices = sell_prices.slice();
temp_sell_prices[0] = temp_sell_prices[1] = buy_price;
if (first_buy) {
yield* this.generate_pattern_3(temp_sell_prices);

Loading…
Cancel
Save