Minor typehint update

This commit is contained in:
Atsushi Togo 2025-07-19 17:13:30 +09:00
parent 096269a8b6
commit 8d9e72c130
1 changed files with 2 additions and 1 deletions

View File

@ -38,6 +38,7 @@ from __future__ import annotations
import argparse
import os
from typing import Literal
import numpy as np
from phonopy.cui.settings import ConfParser, Settings, fracval
@ -81,7 +82,7 @@ class Phono3pySettings(Settings):
self.is_symmetrize_fc3_q = False
self.is_symmetrize_fc3_r = False
self.is_tetrahedron_method = False
self.lapack_zheev_uplo = "L"
self.lapack_zheev_uplo: Literal["L", "U"] = "L"
self.mass_variances = None
self.max_freepath = None
self.num_points_in_batch = None