mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: Intel compiler bug with inheriting constructors (fixes #1821)
- the compiler reports
Internal error loop: assertion failed:
find_seq_in_lookup_table: seq_number not found
(shared/cfe/edgcpfe/il.c, line 4118)
Seems to be the same as the bug report
https://community.intel.com/t5/Intel-C-Compiler/Internal-error-loop-assertion-failed-find-seq-in-lookup-table/td-p/1087603
This _should_ be fixed in icc 17.0 update 1, but appears to have
struck here as well.
- workaround: explicitly construct member elements.
This commit is contained in:
@ -69,13 +69,12 @@ Foam::implicitFunctions::cylinderImplicitFunction::cylinderImplicitFunction
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
cylinderImplicitFunction
|
||||
(
|
||||
dict.get<point>("origin"),
|
||||
dict.get<scalar>("radius"),
|
||||
dict.getOrDefault<scalar>("scale", 1),
|
||||
dict.get<vector>("direction")
|
||||
)
|
||||
// __INTEL_COMPILER bug with inheriting constructors?? (issue #1821)
|
||||
origin_(dict.get<point>("origin")),
|
||||
radius_(dict.get<scalar>("radius")),
|
||||
scale_(dict.getOrDefault<scalar>("scale", 1)),
|
||||
direction_(dict.get<vector>("direction").normalise()),
|
||||
project_(tensor::I - direction_*direction_) // outer product
|
||||
{}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user