Skip to content

Commit

Permalink
Update usvm-python/usvm-python-main/src/main/kotlin/org/usvm/machine/…
Browse files Browse the repository at this point in the history
…model/PyModel.kt

Co-authored-by: Sergey Pospelov <[email protected]>
  • Loading branch information
tochilinak and sergeypospelov authored Jul 1, 2024
1 parent d0d2fd3 commit 2693f55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class PyModel(
@Suppress("UNCHECKED_CAST")
override fun <Key, Sort : USort> getRegion(regionId: UMemoryRegionId<Key, Sort>): UReadOnlyMemoryRegion<Key, Sort> {
if (regionId is UArrayRegionId<*, *, *> &&
regionId.sort == regionId.sort.uctx.addressSort &&
regionId.sort == ctx.addressSort &&
regionId.arrayType == ArrayType
) {
val region = super.getRegion(
Expand Down

0 comments on commit 2693f55

Please sign in to comment.