You can index a Series<double>, which is a big difference.
A double and a Series<double> are not the same thing.
-=o=-
How is Hist defined?
From the code, it looks like it better be a Series<double>.
Is it?
How is Histog defined?
Ok, I see this one, it is a double.
How is priorHistog defined?
From the code, it looks like you're using it as a double
but then you also use it a Series<double>.
Which is it?
-=o=-
I agree you need help.
But I don't think you've provided enough code for me to
divine an answer -- can you attach your entire script?
It looks like you're confused about the differences between
double variables and Series<double> variables.
What are you trying to do, exactly?
Comment