diff --git a/src/cat/CommandInterface.cpp b/src/cat/CommandInterface.cpp index e8fc7b8c4..5b454493a 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;