summaryrefslogtreecommitdiff
path: root/src/cat/CommandInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat/CommandInterface.cpp')
-rw-r--r--src/cat/CommandInterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cat/CommandInterface.cpp b/src/cat/CommandInterface.cpp
index e8fc7b8..5b45449 100644
--- a/src/cat/CommandInterface.cpp
+++ b/src/cat/CommandInterface.cpp
@@ -52,12 +52,12 @@ int CommandInterface::GetPropertyOffset(std::string key_, FormatType & format)
} else if (strcmp(key, "temp")==0){
offset = offsetof(Particle, temp);
format = FormatFloat;
- } else if (strcmp(key, "tmp")==0){
- offset = offsetof(Particle, tmp);
- format = FormatInt;
} else if (strcmp(key, "tmp2")==0){
offset = offsetof(Particle, tmp2);
format = FormatInt;
+ } else if (strcmp(key, "tmp")==0){
+ offset = offsetof(Particle, tmp);
+ format = FormatInt;
} else if (strcmp(key, "vy")==0){
offset = offsetof(Particle, vy);
format = FormatFloat;