summaryrefslogtreecommitdiffstats
path: root/stdlib/optimize.tl
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/optimize.tl')
-rw-r--r--stdlib/optimize.tl3
1 files changed, 1 insertions, 2 deletions
diff --git a/stdlib/optimize.tl b/stdlib/optimize.tl
index 2e0b2aa5..906abdb8 100644
--- a/stdlib/optimize.tl
+++ b/stdlib/optimize.tl
@@ -179,8 +179,7 @@
(set bl.nojoin t)))
(when (and nxbl link-next)
(set bl.next nxbl)
- (if nxbl
- (set nxbl.prev bl))
+ (set nxbl.prev bl)
(pushnew nxbl bl.links))
(each ((nx bl.links))
(pushnew bl nx.rlinks)))))