Skip to content

Commit

Permalink
code_format
Browse files Browse the repository at this point in the history
  • Loading branch information
mzmzm committed Jan 27, 2022
1 parent b695e94 commit 6186c48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/taichi/lang/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def __init__(self, filename):
class MeshBuilder:
def __init__(self, topology):
if not lang.misc.is_extension_supported(impl.current_cfg().arch,
lang.extension.mesh):
lang.extension.mesh):
raise Exception('Backend ' + str(impl.current_cfg().arch) +
' doesn\'t support MeshTaichi extension')

Expand Down
2 changes: 1 addition & 1 deletion tests/python/test_mesh.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import os

import numpy as np
from taichi.lang.misc import mesh_patch_idx

import taichi as ti
from taichi.lang.misc import mesh_patch_idx

this_dir = os.path.dirname(os.path.abspath(__file__))
model_file_path = os.path.join(this_dir, 'ell.json')
Expand Down

0 comments on commit 6186c48

Please sign in to comment.