fixing build bus.

This commit is contained in:
Will Charczuk 2016-07-18 17:00:58 -07:00
parent 1634ced521
commit 6afff9b23b

View File

@ -233,17 +233,6 @@ func (macdl MACDLineSeries) Len() int {
return macdl.InnerSeries.Len()
}
// GetSigma returns the smoothing factor for the serise.
func (macdl MACDLineSeries) GetSigma(defaults ...float64) float64 {
if macdl.Sigma == 0 {
if len(defaults) > 0 {
return defaults[0]
}
return DefaultEMASigma
}
return macdl.Sigma
}
// GetValue gets a value at a given index. For MACD it is the signal value.
func (macdl MACDLineSeries) GetValue(index int) (x float64, y float64) {
if macdl.InnerSeries == nil {