Index: applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/curves/CircleArcMaker.java
===================================================================
--- applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/curves/CircleArcMaker.java	(revision 33676)
+++ applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/curves/CircleArcMaker.java	(revision 33677)
@@ -160,10 +160,10 @@
         Node[] anchorNodes = {n1, n2, n3};
         //// "Fuse" the arc with all target ways
-        fuseArc(anchorNodes, arcNodes, targetWays, cmds);
+        fuseArc(ds, anchorNodes, arcNodes, targetWays, cmds);
 
         return cmds;
     }
 
-    private static void fuseArc(Node[] anchorNodes, List<Node> arcNodes, Set<Way> targetWays, Collection<Command> cmds) {
+    private static void fuseArc(DataSet ds, Node[] anchorNodes, List<Node> arcNodes, Set<Way> targetWays, Collection<Command> cmds) {
 
         for (Way originalTw : targetWays) {
@@ -212,5 +212,5 @@
             }
             if (didChangeTw)
-                cmds.add(new ChangeCommand(originalTw, tw));
+                cmds.add(new ChangeCommand(ds, originalTw, tw));
         }
     }
@@ -242,5 +242,5 @@
         double sUnder = (x1 - x2) * (y3 - y1) - (y2 - y1) * (x1 - x3);
 
-        assert (sUnder == 0);
+        assert (sUnder != 0);
 
         s /= sUnder;
