Skip to content

Commit

Permalink
Merge pull request #4 from GodotMisogi/master
Browse files Browse the repository at this point in the history
Minor fix to mgcycle variable mutation in simpleCart
  • Loading branch information
camader authored Oct 4, 2019
2 parents 4aa6488 + 7c28213 commit 43d6397
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/cgns_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2485,7 +2485,9 @@ def simpleCart(xMin, xMax, dh, hExtra, nExtra, sym, mgcycle, outFile):
sym = [sym]

if isinstance(mgcycle, int):
mgcycle = [mgcycle]
mgcycle = [mgcycle]*3
else:
assert(len(mgcycle) == 3)

# Now determine how many nodes we need on the inside
N = numpy.zeros(3, 'intc')
Expand Down

0 comments on commit 43d6397

Please sign in to comment.