Skip to content

Commit

Permalink
feat(#2437): delta
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Nov 14, 2023
1 parent 195be9e commit d85341f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eo-runtime/src/main/java/org/eolang/Data.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ private static Phi toPhi(final Object obj, final Phi value) {
);
}
if (delta) {
phi.attr(Attr.LAMBDA).put(value);
phi.attr(Attr.DELTA).put(value);
} else {
final Phi bts = new EObytes(Phi.Φ);
bts.attr(Attr.LAMBDA).put(new Data.Value<>(bytes));
bts.attr(Attr.DELTA).put(new Data.Value<>(bytes));
phi.attr(0).put(bts);
}
return phi;
Expand Down

0 comments on commit d85341f

Please sign in to comment.