Default switchSPST type should be open in Circ.asy.
authorW. Trevor King <wking@tremily.us>
Thu, 3 May 2012 13:18:36 +0000 (09:18 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 3 May 2012 13:18:36 +0000 (09:18 -0400)
asymptote/Circ.asy

index 078ea9cf059fe11442b2ca81fb9663c4005321c8..9d202bb230c8a76ca542da4248ceda3f4635b51d 100644 (file)
@@ -456,7 +456,7 @@ path[] _switch_lines(pair terminal_offset[], real theta)
 /* `switch' is a Asymptote keyword (or it should be), so append SPST
  * for Single Pole Single Throw.
  */
-MultiTerminal switchSPST(pair beg=(0,0), real dir=0, int type=closed,
+MultiTerminal switchSPST(pair beg=(0,0), real dir=0, int type=open,
                          Label label="", Label value="", bool draw=true)
 {
   path pLine[] = {};