Test for piecewise_fold with Piecewise in a cond.
piecewise_fold with Piecewise in a cond.
Merge pull request #1889 from placasse/piecewise_fold_with_piecewise_in_cond

Piecewise fold with piecewise in cond
Fixed wrong example output in doc string of sympy.utilities.autowrap.ufuncify
Classifying order of nested functions
Merge pull request #1898 from bjodah/master

Fixed wrong example output in doc string of sympy.utilities.autowrap.ufuncify
Fix file permissions (0755 -> 0644).

modified:   sympy/core/tests/test_wester.py
modified:   sympy/stats/rv_interface.py
modified:   sympy/stats/tests/test_continuous_rv.py
modified:   sympy/stats/tests/test_finite_rv.py
3693: combsimp adjustment for ratios
simplify cancelling gamma ratios
watch for nc and process args canonically
fix failing stats tests
use finer test of "productive gammas"

has() is too general; we want to know if any *factor* is a gamma.
edit docstrings
fix doctest
implement level-processing to rule_gamma
change order of gamma processing at level 2