This repository was archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 180
An document error on the Padded function page #554
Copy link
Copy link
Closed
Labels
Area-DocumentationIssue relates to API documentation comments, READMEs, or other documentation in this repo.Issue relates to API documentation comments, READMEs, or other documentation in this repo.Kind-BugSomething isn't workingSomething isn't workingPkg-StandardIssue relates to the Microsoft.Quantum.Standard package.Issue relates to the Microsoft.Quantum.Standard package.good first issueGood for newcomersGood for newcomerstrackingThis label will trigger gh-sync to create or update a mirror internal ADO issue.This label will trigger gh-sync to create or update a mirror internal ADO issue.
Description
Description
On the page of the Padded function, the example is incorrect. As shown below, the correct call of padded should be let output = Padded(-6, 2, array); instead of let output = Padded(-6, array, 2);
let array = [10, 11, 12];
// It should be "let output = Padded(-6, 2, array);"
let output = Padded(-6, array, 2);
// It should be "let output = Padded(6, 2, array);"
let output = Padded(6, array, 2);Metadata
Metadata
Assignees
Labels
Area-DocumentationIssue relates to API documentation comments, READMEs, or other documentation in this repo.Issue relates to API documentation comments, READMEs, or other documentation in this repo.Kind-BugSomething isn't workingSomething isn't workingPkg-StandardIssue relates to the Microsoft.Quantum.Standard package.Issue relates to the Microsoft.Quantum.Standard package.good first issueGood for newcomersGood for newcomerstrackingThis label will trigger gh-sync to create or update a mirror internal ADO issue.This label will trigger gh-sync to create or update a mirror internal ADO issue.