diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-13 18:15:17 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-13 18:15:17 +0200 |
commit | 8be50daf85fee7129525cec08a980f606c04d66c (patch) | |
tree | 7409082f4d8ba9977fa7492678ecbc913175812e | |
parent | e03b75b35e8c36f829827314c3bc1df7f33bf460 (diff) |
KrancThorn.m: Move groups check to start of function
-rw-r--r-- | Tools/CodeGen/KrancThorn.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/CodeGen/KrancThorn.m b/Tools/CodeGen/KrancThorn.m index 53d7bba..a7caac0 100644 --- a/Tools/CodeGen/KrancThorn.m +++ b/Tools/CodeGen/KrancThorn.m @@ -95,6 +95,8 @@ CreateKrancThorn[groupsOrig_, parentDirectory_, thornName_, opts:OptionsPattern[ cktCheckNamedArgs[{opts}]; + CheckGroups[groupsOrig]; + c = NewObject[ Code, {"Name" -> thornName, @@ -154,8 +156,6 @@ CreateKrancThorn[groupsOrig_, parentDirectory_, thornName_, opts:OptionsPattern[ Add coordinates group ------------------------------------------------------------------------ *) - CheckGroups[GetObjectField[c, "Groups"]]; - c = coordinatesProcessCode[c, opts]; (* ------------------------------------------------------------------------ |