Skip to content

Fixed line numbers for C lang for the split operator markdown #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions contents/split-operator_method/split-operator_method.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ Regardless, we first need to set all the initial parameters, including the initi
{% sample lang="jl" %}
[import:11-34, lang:"julia"](code/julia/split_op.jl)
{% sample lang="c" %}
[import:10-20, lang:"c_cpp"](code/c/split_op.c)
[import:51-72, lang:"c_cpp"](code/c/split_op.c)
[import:11-21, lang:"c_cpp"](code/c/split_op.c)
[import:52-73, lang:"c_cpp"](code/c/split_op.c)
{% sample lang="py" %}
[import:11-30, lang:"python"](code/python/split_op.py)
{% sample lang="hs" %}
Expand All @@ -119,8 +119,8 @@ Afterwards, we turn them into operators:
{% sample lang="jl" %}
[import:36-62, lang:"julia"](code/julia/split_op.jl)
{% sample lang="c" %}
[import:22-28, lang:"c_cpp"](code/c/split_op.c)
[import:74-95, lang:"c_cpp"](code/c/split_op.c)
[import:23-29, lang:"c_cpp"](code/c/split_op.c)
[import:75-96, lang:"c_cpp"](code/c/split_op.c)
{% sample lang="py" %}
[import:33-54, lang:"python"](code/python/split_op.py)
{% sample lang="hs" %}
Expand All @@ -139,7 +139,7 @@ The final step is to do the iteration, itself.
{% sample lang="jl" %}
[import:65-112, lang:"julia"](code/julia/split_op.jl)
{% sample lang="c" %}
[import:97-145, lang:"c_cpp"](code/c/split_op.c)
[import:98-148, lang:"c_cpp"](code/c/split_op.c)
{% sample lang="py" %}
[import:57-95, lang:"python"](code/python/split_op.py)
{% sample lang="hs" %}
Expand Down