Skip to content

Commit

Permalink
Don't name unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed Sep 7, 2024
1 parent 93b540f commit e19cd39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymc/logprob/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def normal_logcdf(value, mu, sigma):
return _logcdf_helper(rv, value, **kwargs)
except NotImplementedError:
# Try to rewrite rv
fgraph, rv_values, _ = construct_ir_fgraph({rv: value})
fgraph, _, _ = construct_ir_fgraph({rv: value})
[ir_rv] = fgraph.outputs
expr = _logcdf_helper(ir_rv, value, **kwargs)
cleanup_ir([expr])
Expand Down Expand Up @@ -390,7 +390,7 @@ def icdf(rv: TensorVariable, value: TensorLike, warn_rvs=None, **kwargs) -> Tens
return _icdf_helper(rv, value, **kwargs)
except NotImplementedError:
# Try to rewrite rv
fgraph, rv_values, _ = construct_ir_fgraph({rv: value})
fgraph, _, _ = construct_ir_fgraph({rv: value})
[ir_rv] = fgraph.outputs
expr = _icdf_helper(ir_rv, value, **kwargs)
cleanup_ir([expr])
Expand Down

0 comments on commit e19cd39

Please sign in to comment.