Skip to content

Commit

Permalink
Fixed bug in ensembleMetadata primitive converter
Browse files Browse the repository at this point in the history
  • Loading branch information
JonKing93 authored Mar 30, 2021
1 parent 71d42a5 commit a41aa58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions @ensembleMetadata/buildFromPrimitives.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
k = 3;
end

varName = meta.variableNames(whichArg(r,k));
v = whichArg(r,k);
varName = meta.variableNames(v);
dimName = meta.dims{v}(whichArg(r,k+1));
stateName = stateType(whichArg(r, k+2));
meta.metadata.(varName).(stateName).(dimName) = data;
Expand All @@ -75,4 +76,4 @@
end


end
end

0 comments on commit a41aa58

Please sign in to comment.