Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
5a4103d7
"platforms/opencl/src/OpenCLKernelSources.cpp.in" did not exist on "e561a67824a1a0ac544547ff4c08baa4853d1b5f"
Commit
5a4103d7
authored
Aug 18, 2009
by
Michael Sherman
Browse files
Fix typo if Fortran wrapper generation.
parent
657a4eed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wrappers/FortranWrapper_Source.xslt
wrappers/FortranWrapper_Source.xslt
+2
-2
No files found.
wrappers/FortranWrapper_Source.xslt
View file @
5a4103d7
...
@@ -288,10 +288,10 @@ void <xsl:value-of select="$name_lower"/>_set_(<xsl:value-of select="$name"/>* c
...
@@ -288,10 +288,10 @@ void <xsl:value-of select="$name_lower"/>_set_(<xsl:value-of select="$name"/>* c
void
<xsl:value-of
select=
"$name_upper"
/>
_SET(
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
index,
<xsl:value-of
select=
"$element_type"
/>
value) {
void
<xsl:value-of
select=
"$name_upper"
/>
_SET(
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
index,
<xsl:value-of
select=
"$element_type"
/>
value) {
<xsl:value-of
select=
"$name"
/>
_set(array, index-1, value);
<xsl:value-of
select=
"$name"
/>
_set(array, index-1, value);
}
}
void
<xsl:value-of
select=
"$name_lower"
/>
_get_(const
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
index,
<xsl:value-of
select=
"$element_type"
/>
value
&
result) {
void
<xsl:value-of
select=
"$name_lower"
/>
_get_(const
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
index,
<xsl:value-of
select=
"$element_type"
/>
&
result) {
result =
<xsl:value-of
select=
"$name"
/>
_get(array, index-1);
result =
<xsl:value-of
select=
"$name"
/>
_get(array, index-1);
}
}
void
<xsl:value-of
select=
"$name_upper"
/>
_GET(const
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
index,
<xsl:value-of
select=
"$element_type"
/>
value
&
result) {
void
<xsl:value-of
select=
"$name_upper"
/>
_GET(const
<xsl:value-of
select=
"$name"
/>
* const
&
array, const int
&
index,
<xsl:value-of
select=
"$element_type"
/>
&
result) {
result =
<xsl:value-of
select=
"$name"
/>
_get(array, index-1);
result =
<xsl:value-of
select=
"$name"
/>
_get(array, index-1);
}
}
</xsl:template>
</xsl:template>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment