Skip to content

Commit 91986b9

Browse files
authored
remove ineffective assignment of data_slope_nstd (#1461)
This addresses 1 of the problems from #1275; The easiest tbh
1 parent 5047b26 commit 91986b9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pvlib/clearsky.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,8 +647,6 @@ def _calc_stats(data, samples_per_window, sample_interval, H):
647647
data_slope = data_diff / sample_interval
648648
data_slope_nstd = _slope_nstd_windowed(data_slope.values[:-1], data, H,
649649
samples_per_window, sample_interval)
650-
data_slope_nstd = data_slope_nstd
651-
652650
return data_mean, data_max, data_slope_nstd, data_slope
653651

654652

0 commit comments

Comments
 (0)