def getBucketInfo(self, buckets):
if self.minval is None or self.maxval is None:<EOL><INDENT>return [EncoderResult(value=<NUM_LIT:0>, scalar=<NUM_LIT:0>,<EOL>encoding=numpy.zeros(self.n))]<EOL><DEDENT>return super(AdaptiveScalarEncoder, self).getBucketInfo(buckets)<EOL>
[overrides nupic.encoders.scalar.ScalarEncoder.getBucketInfo]