Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer committed Dec 14, 2022
1 parent f25f03b commit 7f63b9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/adios2/interface/TestADIOSDefineVariable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ TEST_F(ADIOSDefineVariableTest, DefineStructVariable)
int8_t a;
int32_t b[5];
} def1;
auto struct1 = adios.DefineStruct("def1", sizeof(struct def1));
auto struct1 = adios.DefineStruct("def1", sizeof(def1));
struct1.AddField("a", offsetof(def1, a), adios2::DataType::Int8);
struct1.AddField("b", offsetof(def1, b), adios2::DataType::Int32, 5);
struct1.Freeze();
Expand All @@ -679,7 +679,7 @@ TEST_F(ADIOSDefineVariableTest, DefineStructVariable)
int32_t b[5];
int32_t c;
} def2;
auto struct2 = adios.DefineStruct("def2", sizeof(struct def2));
auto struct2 = adios.DefineStruct("def2", sizeof(def2));
struct2.AddField("a", offsetof(def2, a), adios2::DataType::Int8);
struct2.AddField("b", offsetof(def2, b), adios2::DataType::Int32, 5);
struct2.AddField("c", 24, adios2::DataType::Int32);
Expand Down

0 comments on commit 7f63b9d

Please sign in to comment.