mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-06 02:34:05 +08:00
Remove clang warning
This commit is contained in:
parent
195c9c054b
commit
1920129d71
@ -646,6 +646,7 @@ struct igammac_cf_impl {
|
||||
case DERIVATIVE:
|
||||
return ans * dax_da + dans_da * ax;
|
||||
case SAMPLE_DERIVATIVE:
|
||||
default: // this is needed to suppress clang warning
|
||||
return -(dans_da + ans * dlogax_da) * x;
|
||||
}
|
||||
}
|
||||
@ -707,6 +708,7 @@ struct igamma_series_impl {
|
||||
case DERIVATIVE:
|
||||
return ans * dax_da + dans_da * ax;
|
||||
case SAMPLE_DERIVATIVE:
|
||||
default: // this is needed to suppress clang warning
|
||||
return -(dans_da + ans * dlogax_da) * x / a;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user