From 9e5f645d8d67522b26abdc45bcf9e5e05538f221 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Sun, 28 Jul 2013 09:38:27 -0700 Subject: Remove outdated comment: IfThen works fine with vectorization --- Tools/CodeGen/CodeGenCactus.m | 2 -- 1 file changed, 2 deletions(-) (limited to 'Tools/CodeGen/CodeGenCactus.m') diff --git a/Tools/CodeGen/CodeGenCactus.m b/Tools/CodeGen/CodeGenCactus.m index d4547cc..cd25968 100644 --- a/Tools/CodeGen/CodeGenCactus.m +++ b/Tools/CodeGen/CodeGenCactus.m @@ -795,8 +795,6 @@ DefFn[ *) (* Handle Piecewise function *) - (* TODO: This does not work with vectorisation, since IfThen - there expects a constant condition *) rhs = rhs /. Piecewise -> piecewise1 //. piecewise1[pairs_List, val_:0] :> If[pairs==={}, val, -- cgit v1.2.3