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
Kirill Terekhov
INMOST
Commits
481d911b
Commit
481d911b
authored
Nov 28, 2016
by
Kirill Terekhov
Browse files
Fix a bug
Access to protected members of class when argument has different template parameter.
parent
eef2ef04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/Headers/inmost_dense.h
View file @
481d911b
...
...
@@ -765,8 +765,8 @@ namespace INMOST
template
<
typename
typeB
>
typename
Promote
<
Var
,
typeB
>::
type
DotProduct
(
const
Matrix
<
typeB
>
&
other
)
const
{
assert
(
n
==
other
.
n
);
assert
(
m
==
other
.
m
);
assert
(
Cols
()
==
other
.
Cols
()
);
assert
(
Rows
()
==
other
.
Rows
()
);
typename
Promote
<
Var
,
typeB
>::
type
ret
=
0.0
;
for
(
enumerator
i
=
0
;
i
<
n
;
++
i
)
for
(
enumerator
j
=
0
;
j
<
m
;
++
j
)
...
...
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