Skip to content

Commit

Permalink
correct the code spell
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhanqun committed Nov 30, 2023
1 parent 5350a49 commit cdc1b81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [

dependencies = [
"ansys-dpf-core>=0.7.2",
"ansys-api-dyna==0.3.4",
"ansys-api-dyna==0.3.5",
]

[project.optional-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions src/ansys/dyna/core/solver/dynasolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import sys
import threading

from ansys.api.dyna.v0 import dynasolver_pb2, dynasolver_pb2_grpc
from ansys.api.dyna.v0 import dynasolver_pb2
import grpc

from . import grpc_tags as tag
Expand Down Expand Up @@ -460,7 +460,7 @@ def start_locally(self, preset="MPP_DOUBLE", input="", nproc=1, memory=20):

self.logger.debug("start: %d" % nproc)
request = DynaSolverStartLocal()
request.prset = bytes(preset, "utf-8")
request.preset = bytes(preset, "utf-8")
request.input = bytes(input, "utf-8")
request.nproc = nproc
request.memory = memory
Expand Down

0 comments on commit cdc1b81

Please sign in to comment.