  A general deformation theory of algebras which factorise into two subalgebras
is studied. It is shown that the classification of deformations is related to
the cohomology of a certain double complex reminiscent of the
Gerstenhaber-Schack complex of a bialgebra.
