Skip to content

Commit

Permalink
Fixed a bug spotted in issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHuff authored Dec 6, 2018
1 parent 4d566c5 commit e2f70bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion independence_testing/HSICBlockTestObject.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def compute_pvalue_with_time_tracking(self,data_x=None,data_y=None):
if self.kernelY_use_median:
sigmay = self.kernelY.get_sigma_median_heuristic(data_y)
self.kernelY.set_width(float(sigmay))
num_blocks = ( self.num_samples ) / self.blocksize
num_blocks = int(( self.num_samples ) // self.blocksize)
block_statistics = zeros(num_blocks)
null_samples = zeros(num_blocks)
null_varx = zeros(num_blocks)
Expand Down

0 comments on commit e2f70bd

Please sign in to comment.