Skip to content

Commit

Permalink
[docs] Fix typo in docs (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
Routhleck committed Nov 23, 2023
1 parent d8d5793 commit d892de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/core_concept/brainpy_dynamical_system.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"We call `s` as shared arguments because they are same and shared for all nodes/layers. On the contrary, different nodes/layers have different input `x`.\n",
"\n",
"Here, it is necessary to explain the usage of ``bp.share``.\n",
"- ``bp.share.save( )``: The function saves shared arguments in the global context. User can save shared arguments in tow ways, for example, if user want to set the current time ``t=100``, the current time step ``dt=0.1``,the user can use ``bp.share.save(\"t\",100,\"dt\",0.1)`` or ``bp.share.save(t=100,dt=0.1)``.\n",
"- ``bp.share.save( )``: The function saves shared arguments in the global context. User can save shared arguments in two ways, for example, if user want to set the current time ``t=100``, the current time step ``dt=0.1``,the user can use ``bp.share.save(\"t\",100,\"dt\",0.1)`` or ``bp.share.save(t=100,dt=0.1)``.\n",
" \n",
"- ``bp.share.load( )``: The function gets the shared data by the ``key``, for example, ``bp.share.load(\"t\")``.\n",
" \n",
Expand Down

0 comments on commit d892de7

Please sign in to comment.