Skip to content

Commit

Permalink
address feedback from pr
Browse files Browse the repository at this point in the history
  • Loading branch information
jcp19 committed Apr 2, 2024
1 parent 19f9966 commit 3e9cfd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ class ArrayEncoding extends TypeEncoding with SharedArrayEmbedding {
* function arrayDefault(): ([n]T)°
* ensures len(result) == n
* ensures Forall idx :: {result[idx]} 0 <= idx < n ==> [result[idx] == dflt(T)]
* decreases _
* */
private val exDfltFunc: FunctionGenerator[ComponentParameter] = new FunctionGenerator[ComponentParameter]{
def genFunction(t: ComponentParameter)(ctx: Context): vpr.Function = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ class SequenceEncoding extends LeafTypeEncoding {
* requires 0 <= n
* ensures |result| == n
* ensures forall i : Int :: { result[i] } 0 <= i < n ==> result[i] == dfltVal(`T`)
* decreases _
* }}}
*/
private val emptySeqFunc: FunctionGenerator[in.Type] = new FunctionGenerator[in.Type] {
Expand Down

0 comments on commit 3e9cfd8

Please sign in to comment.