Commit 1da98d71 authored by Håkan Wennlöf's avatar Håkan Wennlöf Committed by Simon Spannagel
Browse files

Simplified a bit further

(cherry picked from commit c174f3bb)
parent 9687393c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -33,10 +33,8 @@ namespace allpix {
                throw LogicError("Cannot use integer value with non-integer internal unit; the combination " +
                                 std::to_string(inp) + " " + str + " is invalid.");
            }
            return static_cast<T>(out);
        } else {
            return static_cast<T>(out);
        }
        return static_cast<T>(out);
    }

    // Getters for single and inverse units