Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit

Permalink
Fix typos in docs and comments (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
vuittont60 authored Nov 6, 2023
1 parent dc05e52 commit dfc3daa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if(NOT CMAKE_WORKSPACE_NAME OR NOT ("${CMAKE_WORKSPACE_NAME}" STREQUAL "crypto3"
endif()

option(ZK_PLACEHOLDER_PROFILING "Build with placeholder profiling" FALSE)
option(ZK_PLACEHOLDER_DEBUG "Build with placeholder debug ouput" FALSE)
option(ZK_PLACEHOLDER_DEBUG "Build with placeholder debug output" FALSE)

if(ZK_PLACEHOLDER_PROFILING)
add_definitions(-DZK_PLACEHOLDER_PROFILING_ENABLED)
Expand Down
4 changes: 2 additions & 2 deletions docs/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Note that ```generate_circuit``` can modify of the ```Blueprint public assignmen

The process of adding a component is following:

1. (Optional) Get ```component``` start row by calling ```allocate_rows```. If the ```component``` is used as part of other ```component``` logic, it's not neccessary to call the function, because needed rows are allocated by the master ```component```.
1. (Optional) Get ```component``` start row by calling ```allocate_rows```. If the ```component``` is used as part of other ```component``` logic, it's not necessary to call the function, because needed rows are allocated by the master ```component```.
2. (Optional) Allocate public input on the ```Blueprint assignment table``` via ```Blueprint assignment table::allocate_public_input```.
3. Set all the gates and constraints on the ```Blueprint``` by calling ```generate_circuit```. ```Allocated data``` is being modified in proccess of the funciton working.
3. Set all the gates and constraints on the ```Blueprint``` by calling ```generate_circuit```. ```Allocated data``` is being modified in process of the function working.
4. Set all the assignments on the ```Blueprint assignment table``` table by calling ```generate_assignments```.
4 changes: 2 additions & 2 deletions include/nil/blueprint/manifest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ namespace nil {

// In order to correctly handle intersection, we need to know the type of the manifest parameter,
// and to use a specific implementation of intersect for each type.
// This funciton returns the type of the manifest parameter.
// This function returns the type of the manifest parameter.
manifest_param::type get_manifest_param_type(std::shared_ptr<manifest_param> a);

class manifest_unsat_param : public manifest_param {
Expand Down Expand Up @@ -1225,4 +1225,4 @@ namespace nil {
} // namespace blueprint
} // namespace nil

#endif // CRYPTO3_BLUEPRINT_COMPONENT_MANIFEST_HPP
#endif // CRYPTO3_BLUEPRINT_COMPONENT_MANIFEST_HPP

0 comments on commit dfc3daa

Please sign in to comment.