Navigation Menu

Skip to content

Commit

Permalink
Bugfix in t2grid minc() method: block order in MINC connections was r…
Browse files Browse the repository at this point in the history
…eversed, due to basing this code on a version of GMINC that had the same bug
  • Loading branch information
acroucher committed Nov 11, 2015
1 parent fa4566c commit 761e66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t2grids.py
Expand Up @@ -1048,7 +1048,7 @@ def duplicate_rock(newrockname, r):
newincon[mblockname] = inc
iblk += 1
blockindex[m, blk_index] = iblk
con = t2connection([mincblk,lastblk], 1, [d[m-1], d[m]],
con = t2connection([lastblk, mincblk], 1, [d[m-1], d[m]],
original_vol * a[m-1], None)
self.add_connection(con)
lastblk = mincblk
Expand Down

0 comments on commit 761e66f

Please sign in to comment.