Skip to content

Commit

Permalink
fixed the plotting problem (#214)
Browse files Browse the repository at this point in the history
* fixed the plotting problem

* Update tensor_prod.md
  • Loading branch information
RohitRathore1 committed Aug 4, 2020
1 parent 02d8357 commit c49de09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/tensor_prod.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ default()

Define the 1D objective function:
```@example tensor
function f(x,a)
function f(x)
a = 0.5;
return cos(a*pi*x)
end
```
Expand Down

0 comments on commit c49de09

Please sign in to comment.