sympy/sympy — pull request #683 by smichr (2011-10-26 07:12:03+00:00)
Title: move solve_congruence to ntheory.modular

This is a better place for this function since the gf routines which
are suppose to be more low level are then left uncluttered with the
extra testing that solve_congruence and crt (now) do. In addition, the
symmetric flag is used in solve_congruence as it was in crt; the
symmetric_residual code was factored out into its own function; the
modular crt routines call the galoistools functions so as not to
duplicate code.