Ginkgo  Generated from pipelines/3133041809 branch based on develop. Ginkgo version 2.0.0
A numerical linear algebra library targeting many-core architectures
Public Member Functions | List of all members
gko::PrecisionError Class Reference

Exception thrown if an object with mismatched precision is used. More...

#include <ginkgo/core/base/exception.hpp>

Inheritance diagram for gko::PrecisionError:
[legend]
Collaboration diagram for gko::PrecisionError:
[legend]

Public Member Functions

 PrecisionError (const std::string &file, int line, const std::string &func, precision expected, const std::string &op, precision p)
 
- Public Member Functions inherited from gko::Error
 Error (const std::string &file, int line, const std::string &what)
 Initializes an error. More...
 

Detailed Description

Exception thrown if an object with mismatched precision is used.

Constructor & Destructor Documentation

◆ PrecisionError()

gko::PrecisionError::PrecisionError ( const std::string &  file,
int  line,
const std::string &  func,
precision  expected,
const std::string &  op,
precision  p 
)
inline
Parameters
fileThe name of the offending source file
lineThe source code line number where the error occurred
funcThe function name where the error occurred
expectedThe string value of the expected precision
opThe offending operator
pThe string value of the precision of the operator

The documentation for this class was generated from the following file: