# HG changeset patch # User jwe # Date 824359580 0 # Node ID 9ca852da001732a61414a2372a8c090bc4e141b7 # Parent 0e6a0a271998fc50f33d73303def89f122288928 [project @ 1996-02-15 04:46:20 by jwe] diff -r 0e6a0a271998 -r 9ca852da0017 liboctave/base-de.h --- a/liboctave/base-de.h Thu Feb 15 01:08:49 1996 +0000 +++ b/liboctave/base-de.h Thu Feb 15 04:46:20 1996 +0000 @@ -42,8 +42,11 @@ base_diff_eqn& operator = (const base_diff_eqn& a) { - x = a.x; - t = a.t; + if (this != &a) + { + x = a.x; + t = a.t; + } return *this; }