Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pierre Fernbach
curves
Commits
82891d3c
Commit
82891d3c
authored
Aug 12, 2019
by
Pierre Fernbach
Browse files
[polynomial] constructor from boundary conditions : correctly call safe_check"
parent
d5b2fb69
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/curves/polynomial.h
View file @
82891d3c
...
...
@@ -116,6 +116,7 @@ namespace curves
coeffs
.
push_back
(
init
);
coeffs
.
push_back
((
end
-
init
)
/
(
max
-
min
));
coefficients_
=
init_coeffs
(
coeffs
.
begin
(),
coeffs
.
end
());
safe_check
();
}
///
...
...
@@ -155,6 +156,7 @@ namespace curves
bc
[
3
]
=
d_end
[
i
];
coefficients_
.
row
(
i
)
=
(
m_inv
*
bc
).
transpose
();
}
safe_check
();
}
///
...
...
@@ -202,6 +204,7 @@ namespace curves
bc
[
5
]
=
dd_end
[
i
];
coefficients_
.
row
(
i
)
=
(
m_inv
*
bc
).
transpose
();
}
safe_check
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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