Mercurial > octave
view .editorconfig @ 29816:f54cfd60725e
Fix mpower for additional cases where negative scalar base is used (bug #60786).
* xpow.cc (xpow (double, ComplexMatrix), xpow (float, FloatComplexMatrix)):
Check for base < 0.0 and if found use std::pow with std::complex first argument
so that math library chooses a different template for function which can handle
negative bases.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 24 Jun 2021 13:51:52 -0700 |
parents | 640ee0d531d0 |
children |
line wrap: on
line source
root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true [*.{am,mk}] indent_size = tab indent_style = tab