gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
PolinomL - ispravka jednog slucaja brisanja clana
authorDoni Pracner <quinnuendo@gmail.com>
Thu, 6 Feb 2014 15:22:04 +0000 (16:22 +0100)
committerDoni Pracner <quinnuendo@gmail.com>
Thu, 6 Feb 2014 15:22:04 +0000 (16:22 +0100)
kodovi/polinomi/POLINOML.MOD

index 6063d5dd74e2db701fb8bb6f9357b94339332e1b..309b34905b1a077a6f29fbe326e02c1c25e3e93c 100644 (file)
@@ -100,11 +100,11 @@ BEGIN
       cilj^.k:=k;\r
     ELSE\r
       IF p = cilj THEN\r
-       DISPOSE(p);\r
+       p := p^.veza;\r
       ELSE\r
        prethodni^.veza:= prethodni^.veza^.veza;\r
-       DISPOSE(cilj);\r
       END;\r
+      DISPOSE(cilj);\r
     END;\r
   ELSE\r
     IF k # 0.0 THEN\r
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner