XanaduAI / thewalrus

A library for the calculation of hafnians, Hermite polynomials and Gaussian boson sampling.
https://the-walrus.readthedocs.io
Apache License 2.0
100 stars 55 forks source link

Update _hermite_multidimensional.py #269

Closed ziofil closed 3 years ago

ziofil commented 3 years ago

casting cutoff to tuple

codecov[bot] commented 3 years ago

Codecov Report

Merging #269 (bc9ef66) into master (b1de9b9) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #269   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        21           
  Lines         1419      1421    +2     
=========================================
+ Hits          1419      1421    +2     
Impacted Files Coverage Δ
thewalrus/_hermite_multidimensional.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b1de9b9...bc9ef66. Read the comment docs.

nquesada commented 3 years ago

@ziofil --- You will need to add an extra test for the different inputs (list vs tuple) to still have complete test coverage.